Skip to content

Commit 7a2533c

Browse files
committed
---
yaml --- r: 347422 b: refs/heads/master c: 022b6d0 h: refs/heads/master
1 parent a45e883 commit 7a2533c

File tree

2 files changed

+10
-7
lines changed

2 files changed

+10
-7
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
refs/heads/master: a8a47c237e3329073c9c74b3f4a98b8df541dc31
2+
refs/heads/master: 022b6d040dadbfcbd0ef947023319bb4fbe53025
33
refs/heads/master-next: 203b3026584ecad859eb328b2e12490099409cd5
44
refs/tags/osx-passed: b6b74147ef8a386f532cf9357a1bde006e552c54
55
refs/tags/swift-2.2-SNAPSHOT-2015-12-01-a: 6bb18e013c2284f2b45f5f84f2df2887dc0f7dea

trunk/test/CMakeLists.txt

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -204,13 +204,16 @@ foreach(SDK ${SWIFT_SDKS})
204204
__declspec(dllexport)
205205
#endif
206206
_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
208216
${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()
214217
set_target_properties(BlocksRuntimeStub-${SDK}-${ARCH} PROPERTIES
215218
ARCHIVE_OUTPUT_DIRECTORY ${test_bin_dir}
216219
LIBRARY_OUTPUT_DIRECTORY ${test_bin_dir}

0 commit comments

Comments
 (0)