Skip to content

Commit 271289f

Browse files
authored
Merge pull request swiftlang#31994 from compnerd/windows-14
build: cleanup some unnecessary settings for Windows
2 parents fb9c771 + 4c115e1 commit 271289f

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)