diff options
author | Kim Gräsman <kim.grasman@gmail.com> | 2022-08-28 14:47:29 +0200 |
---|---|---|
committer | Kim Gräsman <kim.grasman@gmail.com> | 2022-08-28 14:52:23 +0200 |
commit | e94a78b3a569197e124f9dd1d5068da46ebb0031 (patch) | |
tree | 386ef06071d996da354a7f04ac0027365acdb843 | |
parent | 39e45aa453b5254ffe26275be97ed158d4ee168d (diff) |
[cmake] Require C++17 as does LLVM
-rw-r--r-- | CMakeLists.txt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index fcfa0ce..a97d148 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -118,10 +118,10 @@ add_llvm_executable(include-what-you-use # available when IWYU is executed from the build dir. add_dependencies(include-what-you-use clang-resource-headers) -# LLVM requires C++14, so follow suit. +# LLVM requires C++17, so follow suit. set_target_properties(include-what-you-use PROPERTIES CXX_STANDARD_REQUIRED ON - CXX_STANDARD 14 + CXX_STANDARD 17 CXX_EXTENSIONS OFF ) |