Skip to content

Commit 4da6ac0

Browse files
committed
Revert "Runtimes: make SwiftCore search REQUIRED"
This reverts commit a81dbe8.
1 parent 21a9455 commit 4da6ac0

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

Runtimes/Supplemental/StringProcessing/CMakeLists.txt

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
cmake_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+
37
if(POLICY CMP0157 AND CMAKE_Swift_COMPILER_USE_OLD_DRIVER)
48
cmake_policy(SET CMP0157 OLD)
59
endif()
@@ -16,15 +20,11 @@ if(NOT PROJECT_IS_TOP_LEVEL)
1620
message(FATAL_ERROR "Swift StringProcessing must build as a standalone project")
1721
endif()
1822

19-
set(CMAKE_POSITION_INDEPENDENT_CODE YES)
20-
21-
list(APPEND CMAKE_MODULE_PATH "${CMAKE_SOURCE_DIR}/../cmake/modules")
22-
2323
set(${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 REQUIRED)
27+
find_package(SwiftCore)
2828

2929
include(GNUInstallDirs)
3030

0 commit comments

Comments
 (0)