File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed
Runtimes/Supplemental/StringProcessing Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change 11cmake_minimum_required (VERSION 3.29)
22
3- set (CMAKE_POSITION_INDEPENDENT_CODE YES )
4-
5- list (APPEND CMAKE_MODULE_PATH "${CMAKE_SOURCE_DIR} /../cmake/modules" )
6-
73if (POLICY CMP0157 AND CMAKE_Swift_COMPILER_USE_OLD_DRIVER)
84 cmake_policy (SET CMP0157 OLD)
95endif ()
@@ -20,11 +16,15 @@ if(NOT PROJECT_IS_TOP_LEVEL)
2016 message (FATAL_ERROR "Swift StringProcessing must build as a standalone project" )
2117endif ()
2218
19+ set (CMAKE_POSITION_INDEPENDENT_CODE YES )
20+
21+ list (APPEND CMAKE_MODULE_PATH "${CMAKE_SOURCE_DIR} /../cmake/modules" )
22+
2323set (${PROJECT_NAME} _SWIFTC_SOURCE_DIR
2424 "${PROJECT_SOURCE_DIR} /../../../"
2525 CACHE FILEPATH "Path to the root source directory of the Swift compiler" )
2626
27- find_package (SwiftCore)
27+ find_package (SwiftCore REQUIRED )
2828
2929include (GNUInstallDirs)
3030
You can’t perform that action at this time.
0 commit comments