Skip to content

Commit dc66e8d

Browse files
authored
Merge pull request #77544 from etcwilde/ewilde/stdlib-rebuild-pass-CommandLine-Support-macro
[cmake] Set SWIFT_STDLIB_HAS_COMMANDLINE
2 parents 8f81e1d + 87b44cf commit dc66e8d

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Runtimes/Core/CommandLineSupport/CMakeLists.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@ if(SwiftCore_ENABLE_COMMANDLINE_SUPPORT)
33
target_include_directories(swiftCommandLineSupport PRIVATE
44
"${SwiftCore_SWIFTC_SOURCE_DIR}/include"
55
"${PROJECT_BINARY_DIR}/include")
6+
target_compile_definitions(swiftCommandLineSupport PUBLIC
7+
-DSWIFT_STDLIB_HAS_COMMANDLINE)
68

79
target_link_libraries(swiftCommandLineSupport PRIVATE
810
swiftShims)

0 commit comments

Comments
 (0)