Skip to content

Commit 917d488

Browse files
committed
build: prevent CoreFoundation from being installed
CoreFoundation is an internal implementation detail of Foundation. Prevent CoreFoundation from being installed.
1 parent 7b72fbd commit 917d488

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ set(CF_DEPLOYMENT_SWIFT YES CACHE BOOL "Build for Swift" FORCE)
5151

5252
set(SAVED_BUILD_SHARED_LIBS ${BUILD_SHARED_LIBS})
5353
set(BUILD_SHARED_LIBS NO)
54-
add_subdirectory(CoreFoundation)
54+
add_subdirectory(CoreFoundation EXCLUDE_FROM_ALL)
5555
set(BUILD_SHARED_LIBS ${SAVED_BUILD_SHARED_LIBS})
5656

5757
# Setup include paths for uuid/uuid.h

0 commit comments

Comments
 (0)