We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f995005 commit 6e8c59aCopy full SHA for 6e8c59a
tools/swift-stdlib-tool/CMakeLists.txt
@@ -2,7 +2,8 @@ add_swift_host_tool(swift-stdlib-tool
2
swift-stdlib-tool.cpp
3
SWIFT_COMPONENT compiler)
4
5
-set(CMAKE_CXX_STANDARD 17)
6
-set(CMAKE_CXX_STANDARD_REQUIRED True)
+set_target_properties(swift-stdlib-tool PROPERTIES
+ CXX_STANDARD 17
7
+ CXX_STANDARD_REQUIRED ON)
8
9
target_link_libraries(swift-stdlib-tool PRIVATE)
0 commit comments