From d26a053d86f1c513ba2ff54e54f68708bd18cb34 Mon Sep 17 00:00:00 2001 From: Argyrios Kyrtzidis Date: Wed, 8 May 2019 09:16:52 -0700 Subject: [PATCH] [test/CMake] Add the `swift-test-stdlib-*` test dependency under the same conditions as `swift-reflection-test*` --- test/CMakeLists.txt | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/test/CMakeLists.txt b/test/CMakeLists.txt index d159fdd86a7c7..8c560c1b1246d 100644 --- a/test/CMakeLists.txt +++ b/test/CMakeLists.txt @@ -221,10 +221,9 @@ _Block_release(void) { }\n") OUTPUT_NAME BlocksRuntime) list(APPEND test_dependencies BlocksRuntimeStub${VARIANT_SUFFIX}) - list(APPEND test_dependencies - "swift-test-stdlib-${SWIFT_SDK_${SDK}_LIB_SUBDIR}") - if(SWIFT_BUILD_STDLIB AND SWIFT_INCLUDE_TESTS) + list(APPEND test_dependencies + "swift-test-stdlib-${SWIFT_SDK_${SDK}_LIB_SUBDIR}") list(APPEND test_dependencies "swift-reflection-test${VARIANT_SUFFIX}_signed") endif()