Skip to content

Commit 12f9694

Browse files
authored
Merge pull request #2352 from compnerd/dont-forget-yourself
CoreFoundation: use local uuid library
2 parents 7130787 + 00d2d4d commit 12f9694

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

CMakeLists.txt

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,11 @@ set(BUILD_SHARED_LIBS NO)
5454
add_subdirectory(CoreFoundation)
5555
set(BUILD_SHARED_LIBS ${SAVED_BUILD_SHARED_LIBS})
5656

57+
# Setup include paths for uuid/uuid.h
58+
target_include_directories(CoreFoundation PRIVATE
59+
${CMAKE_CURRENT_SOURCE_DIR}
60+
${CMAKE_CURRENT_BINARY_DIR}/CoreFoundation.framework/Headers)
61+
5762
add_library(uuid
5863
STATIC
5964
uuid/uuid.h

0 commit comments

Comments
 (0)