Skip to content

Commit 8c829ee

Browse files
committed
Moved LLVM_OPTIONAL_SOURCES
1 parent f0e10a2 commit 8c829ee

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

stdlib/public/runtime/CMakeLists.txt

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -50,14 +50,6 @@ set(swift_runtime_sources
5050
Reflection.cpp
5151
SwiftObject.cpp)
5252

53-
add_swift_library(swiftRuntime IS_STDLIB IS_STDLIB_CORE
54-
${swift_runtime_sources}
55-
${swift_runtime_objc_sources}
56-
${swift_runtime_leaks_sources}
57-
${swift_runtime_port_sources}
58-
C_COMPILE_FLAGS ${swift_runtime_compile_flags}
59-
INSTALL_IN_COMPONENT stdlib)
60-
6153
# Acknowledge that the following sources are known.
6254
set(LLVM_OPTIONAL_SOURCES
6355
Remangle.cpp
@@ -67,6 +59,14 @@ set(LLVM_OPTIONAL_SOURCES
6759
${swift_runtime_objc_sources}
6860
${swift_runtime_leaks_sources})
6961

62+
add_swift_library(swiftRuntime IS_STDLIB IS_STDLIB_CORE
63+
${swift_runtime_sources}
64+
${swift_runtime_objc_sources}
65+
${swift_runtime_leaks_sources}
66+
${swift_runtime_port_sources}
67+
C_COMPILE_FLAGS ${swift_runtime_compile_flags}
68+
INSTALL_IN_COMPONENT stdlib)
69+
7070
if(CMAKE_SYSTEM_NAME STREQUAL "Linux" OR CMAKE_SYSTEM_NAME STREQUAL "FreeBSD")
7171
add_swift_library(section_magic_begin IS_STDLIB IS_STDLIB_CORE
7272
swift_sections.S

0 commit comments

Comments
 (0)