Skip to content

Commit bab52f1

Browse files
authored
Merge pull request #20 from apple/egorzhdan/cpp17
[build] Use C++17 standard
2 parents 46c67a9 + 51de250 commit bab52f1

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Sources/LLVM/CMakeLists.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ add_library(LLVM_Utils
22
LLVM_Utils.swift)
33
target_compile_options(LLVM_Utils PUBLIC
44
"-emit-module"
5+
"-Xcc" "-std=c++17"
56
"-Xfrontend" "-enable-experimental-cxx-interop")
67
target_include_directories(LLVM_Utils PUBLIC
78
"${LLVM_MAIN_INCLUDE_DIR}"

0 commit comments

Comments
 (0)