Created
April 25, 2017 14:42
-
-
Save modocache/5d320fce56200dc5d759a48caadd7039 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/CMakeLists.txt b/CMakeLists.txt | |
index 3c2e79a..a990e62 100644 | |
--- a/CMakeLists.txt | |
+++ b/CMakeLists.txt | |
@@ -367,17 +367,7 @@ if(SWIFT_BUILT_STANDALONE) | |
endif() | |
precondition(CMAKE_SYSTEM_NAME) | |
-if("${CMAKE_SYSTEM_NAME}" STREQUAL "Darwin") | |
- set(SWIFT_BUILD_SOURCEKIT_default TRUE) | |
-elseif("${CMAKE_SYSTEM_NAME}" STREQUAL "Linux") | |
- if(EXISTS ${SWIFT_PATH_TO_LIBDISPATCH_SOURCE}) | |
- set(SWIFT_BUILD_SOURCEKIT_default TRUE) | |
- else() | |
- set(SWIFT_BUILD_SOURCEKIT_default FALSE) | |
- endif() | |
-else() | |
- set(SWIFT_BUILD_SOURCEKIT_default FALSE) | |
-endif() | |
+set(SWIFT_BUILD_SOURCEKIT_default FALSE) | |
option(SWIFT_BUILD_SOURCEKIT | |
"Build SourceKit" | |
${SWIFT_BUILD_SOURCEKIT_default}) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment