File tree Expand file tree Collapse file tree 2 files changed +10
-7
lines changed Expand file tree Collapse file tree 2 files changed +10
-7
lines changed Original file line number Diff line number Diff line change 1
1
---
2
- refs/heads/master: a8a47c237e3329073c9c74b3f4a98b8df541dc31
2
+ refs/heads/master: 022b6d040dadbfcbd0ef947023319bb4fbe53025
3
3
refs/heads/master-next: 203b3026584ecad859eb328b2e12490099409cd5
4
4
refs/tags/osx-passed: b6b74147ef8a386f532cf9357a1bde006e552c54
5
5
refs/tags/swift-2.2-SNAPSHOT-2015-12-01-a: 6bb18e013c2284f2b45f5f84f2df2887dc0f7dea
Original file line number Diff line number Diff line change @@ -204,13 +204,16 @@ foreach(SDK ${SWIFT_SDKS})
204
204
__declspec(dllexport)
205
205
#endif
206
206
_Block_release(void) { }\n " )
207
- add_library (BlocksRuntimeStub-${SDK}-${ARCH} SHARED
207
+ _add_swift_library_single (
208
+ BlocksRuntimeStub-${SDK}-${ARCH}
209
+ BlocksRuntimeStub
210
+ SHARED
211
+ DONT_EMBED_BITCODE
212
+ NOSWIFTRT
213
+ ARCHITECTURE ${ARCH}
214
+ SDK ${SDK}
215
+ INSTALL_IN_COMPONENT dev
208
216
${test_bin_dir} /BlocksRuntime.c )
209
- if (CMAKE_C_COMPILER_ID STREQUAL Clang AND
210
- NOT CMAKE_C_COMPILER_SIMULATE_ID STREQUAL MSVC )
211
- target_compile_options (BlocksRuntimeStub-${SDK}-${ARCH} PRIVATE
212
- -target;${SWIFT_SDK_${SDK}_ARCH_${ARCH}_TRIPLE} )
213
- endif ()
214
217
set_target_properties (BlocksRuntimeStub-${SDK}-${ARCH} PROPERTIES
215
218
ARCHIVE_OUTPUT_DIRECTORY ${test_bin_dir}
216
219
LIBRARY_OUTPUT_DIRECTORY ${test_bin_dir}
You can’t perform that action at this time.
0 commit comments