Skip to content

Commit 2526e79

Browse files
authored
Merge pull request #28304 from davezarzycki/pr28304
[CMake] SWIFT_ENABLE_SOURCEKIT_TESTS depends on SWIFT_BUILD_SOURCEKIT
2 parents d4e097f + bcb4546 commit 2526e79

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -462,7 +462,7 @@ endif()
462462
option(SWIFT_BUILD_SYNTAXPARSERLIB "Build the Swift Syntax Parser library" TRUE)
463463
option(SWIFT_BUILD_ONLY_SYNTAXPARSERLIB "Only build the Swift Syntax Parser library" FALSE)
464464
option(SWIFT_BUILD_SOURCEKIT "Build SourceKit" TRUE)
465-
option(SWIFT_ENABLE_SOURCEKIT_TESTS "Enable running SourceKit tests" TRUE)
465+
option(SWIFT_ENABLE_SOURCEKIT_TESTS "Enable running SourceKit tests" ${SWIFT_BUILD_SOURCEKIT})
466466

467467
if(SWIFT_BUILD_SYNTAXPARSERLIB OR SWIFT_BUILD_SOURCEKIT)
468468
if(CMAKE_SYSTEM_NAME STREQUAL Darwin)

0 commit comments

Comments
 (0)