We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6ad2fe5 commit cb3fec8Copy full SHA for cb3fec8
Sources/CoreFoundation/CMakeLists.txt
@@ -126,10 +126,16 @@ file(COPY
126
DESTINATION
127
${CMAKE_BINARY_DIR}/_CModulesForClients/CoreFoundation)
128
129
+if(NOT BUILD_SHARED_LIBS)
130
+ set(swift swift_static)
131
+else()
132
+ set(swift swift)
133
+endif()
134
+
135
install(DIRECTORY
136
include/
137
- lib/swift/CoreFoundation)
138
+ lib/${swift}/CoreFoundation)
139
140
if(NOT BUILD_SHARED_LIBS)
141
install(TARGETS CoreFoundation
0 commit comments