Skip to content

Commit

Permalink
Simplify if
Browse files Browse the repository at this point in the history
  • Loading branch information
kubamracek committed Oct 22, 2020
1 parent ca158ac commit d24022c
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions stdlib/CMakeLists.txt
Expand Up @@ -38,9 +38,7 @@ else()
set(SWIFT_STDLIB_STABLE_ABI_default FALSE)
endif()

if("${SWIFT_BUILD_SDK_OVERLAY}")
set(SWIFT_BUILD_TEST_SUPPORT_MODULES_default TRUE)
elseif("${SWIFT_INCLUDE_TESTS}")
if("${SWIFT_BUILD_SDK_OVERLAY}" OR "${SWIFT_INCLUDE_TESTS}")
set(SWIFT_BUILD_TEST_SUPPORT_MODULES_default TRUE)
else()
set(SWIFT_BUILD_TEST_SUPPORT_MODULES_default FALSE)
Expand Down

0 comments on commit d24022c

Please sign in to comment.