Skip to content

Commit f0e10a2

Browse files
committed
Merged LLVM_OPTION_SOURCES in runtime CMakeLists.txt
1 parent e06c713 commit f0e10a2

File tree

1 file changed

+3
-6
lines changed

1 file changed

+3
-6
lines changed

stdlib/public/runtime/CMakeLists.txt

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -17,12 +17,6 @@ if(SWIFT_RUNTIME_ENABLE_LEAK_CHECKER)
1717
set(swift_runtime_leaks_sources Leaks.mm)
1818
endif()
1919

20-
# Acknowledge that the following sources are known.
21-
set(LLVM_OPTIONAL_SOURCES
22-
Remangle.cpp
23-
CygwinPort.cpp
24-
swift_sections.S)
25-
2620
set(swift_runtime_port_sources)
2721
if("${CMAKE_SYSTEM_NAME}" STREQUAL "CYGWIN")
2822
set(swift_runtime_port_sources
@@ -64,8 +58,11 @@ add_swift_library(swiftRuntime IS_STDLIB IS_STDLIB_CORE
6458
C_COMPILE_FLAGS ${swift_runtime_compile_flags}
6559
INSTALL_IN_COMPONENT stdlib)
6660

61+
# Acknowledge that the following sources are known.
6762
set(LLVM_OPTIONAL_SOURCES
6863
Remangle.cpp
64+
swift_sections.S
65+
CygwinPort.cpp
6966
${swift_runtime_sources}
7067
${swift_runtime_objc_sources}
7168
${swift_runtime_leaks_sources})

0 commit comments

Comments
 (0)