Skip to content

Commit 4c115e1

Browse files
committed
build: cleanup some unnecessary settings for Windows
Windows had moved to C++14 much earlier than the rest of Swift. This was required in order to deal with the Windows SDK headers. Now that the project has fully moved to C++14, remove the unnecessary settings for Windows.
1 parent 435b239 commit 4c115e1

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

stdlib/cmake/modules/AddSwiftStdlib.cmake

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -879,10 +879,8 @@ function(_add_swift_target_library_single target name)
879879

880880
if("${SWIFTLIB_SINGLE_SDK}" STREQUAL "WINDOWS")
881881
swift_windows_include_for_arch(${SWIFTLIB_SINGLE_ARCHITECTURE} SWIFTLIB_INCLUDE)
882-
target_include_directories("${target}" SYSTEM PRIVATE ${SWIFTLIB_INCLUDE})
883-
set_target_properties(${target}
884-
PROPERTIES
885-
CXX_STANDARD 14)
882+
target_include_directories("${target}" SYSTEM PRIVATE
883+
${SWIFTLIB_INCLUDE})
886884
endif()
887885

888886
if("${SWIFTLIB_SINGLE_SDK}" STREQUAL "WINDOWS" AND NOT "${CMAKE_SYSTEM_NAME}" STREQUAL "Windows")

0 commit comments

Comments
 (0)