Skip to content

Commit ff1dce6

Browse files
authored
Merge pull request swiftlang#63299 from apple/compnerd/systemic
build: tweak flags further
2 parents 41e6089 + 36b186c commit ff1dce6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

stdlib/CMakeLists.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@ project(swift-stdlib LANGUAGES C CXX)
1111
# being built on Windows. Since we know that we only support `clang-cl` as the
1212
# compiler for the runtime due to the use of the Swift calling convention, we
1313
# simply override the CMake behaviour unconditionally.
14-
set(CMAKE_INCLUDE_SYSTEM_FLAG_C "-I")
15-
set(CMAKE_INCLUDE_SYSTEM_FLAG_CXX "-I")
14+
set(CMAKE_INCLUDE_SYSTEM_FLAG_C "-Isystem")
15+
set(CMAKE_INCLUDE_SYSTEM_FLAG_CXX "-Isystem")
1616

1717
# Add path for custom CMake modules.
1818
list(APPEND CMAKE_MODULE_PATH

0 commit comments

Comments
 (0)