Skip to content

Commit d36b067

Browse files
authored
[CMake] StringProcessing: Disable CMake compiler check (#80364)
The CMake compiler checks depend on StringProcessing being implemented. The old build system may not have rebuilt the module, which will cause the compiler check to fail. Disable the CMake compiler verification.
1 parent 63c24af commit d36b067

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Diff for: CMakeLists.txt

+1
Original file line numberDiff line numberDiff line change
@@ -1662,6 +1662,7 @@ if(SWIFT_ENABLE_NEW_RUNTIME_BUILD)
16621662
INSTALL_COMMAND "" # No install story set up yet
16631663
CMAKE_ARGS
16641664
-DBUILD_SHARED_LIBS=YES
1665+
-DCMAKE_Swift_COMPILER_WORKS:BOOLEAN=YES
16651666
-DCMAKE_BUILD_TYPE:STRING=${CMAKE_BUILD_TYPE}
16661667
-DCMAKE_INSTALL_PREFIX:FILEPATH=${INSTALL_DIR}
16671668
-DCMAKE_Swift_COMPILER:FILEPATH=$<IF:$<BOOL:${CMAKE_CROSSCOMPILING}>,${CMAKE_Swift_COMPILER},$<PATH:REPLACE_FILENAME,$<TARGET_FILE:swift-frontend>,swiftc>>

0 commit comments

Comments
 (0)