diff options
Diffstat (limited to 'CMakeLists.txt')
| -rw-r--r-- | CMakeLists.txt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 5df2ff3fa..b7ea86d8a 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt | |||
| @@ -135,7 +135,7 @@ endif() | |||
| 135 | # boost asio's concept usage doesn't play nicely with some compilers yet. | 135 | # boost asio's concept usage doesn't play nicely with some compilers yet. |
| 136 | add_definitions(-DBOOST_ASIO_DISABLE_CONCEPTS) | 136 | add_definitions(-DBOOST_ASIO_DISABLE_CONCEPTS) |
| 137 | if (MSVC) | 137 | if (MSVC) |
| 138 | add_compile_options(/std:c++latest) | 138 | add_compile_options($<$<COMPILE_LANGUAGE:CXX>:/std:c++latest>) |
| 139 | 139 | ||
| 140 | # cubeb and boost still make use of deprecated result_of. | 140 | # cubeb and boost still make use of deprecated result_of. |
| 141 | add_definitions(-D_HAS_DEPRECATED_RESULT_OF) | 141 | add_definitions(-D_HAS_DEPRECATED_RESULT_OF) |
| @@ -780,7 +780,7 @@ endif() | |||
| 780 | # against all the src files. This should be used before making a pull request. | 780 | # against all the src files. This should be used before making a pull request. |
| 781 | # ======================================================================= | 781 | # ======================================================================= |
| 782 | 782 | ||
| 783 | set(CLANG_FORMAT_POSTFIX "-10") | 783 | set(CLANG_FORMAT_POSTFIX "-12") |
| 784 | find_program(CLANG_FORMAT | 784 | find_program(CLANG_FORMAT |
| 785 | NAMES clang-format${CLANG_FORMAT_POSTFIX} | 785 | NAMES clang-format${CLANG_FORMAT_POSTFIX} |
| 786 | clang-format | 786 | clang-format |