Read-only mirrors. Development, issues and pull requests are on GitHub.

summaryrefslogtreecommitdiffhomepage
path: root/CMake
diff options
context:
space:
mode:
authorMartin Hořeňovský2022-05-03 10:49:45 +0200
committerMartin Hořeňovský2022-05-03 13:54:07 +0200
commit91ea25e51ac122b2ab2363f89f5a6ee0b91c858c (patch)
tree1fd51b51cd5898b3f9bb7166acd6e7ccea6bf963 /CMake
parente2d07d35f4e31fa07fda89aadfb547e20b6b63b3 (diff)
downloadcatch3-91ea25e51ac122b2ab2363f89f5a6ee0b91c858c.tar.gz
Fix use of u8-literal that would break in C++20
Diffstat (limited to 'CMake')
-rw-r--r--CMake/CatchMiscFunctions.cmake1
1 files changed, 1 insertions, 0 deletions
diff --git a/CMake/CatchMiscFunctions.cmake b/CMake/CatchMiscFunctions.cmake
index 21f4f6c0..ce66542b 100644
--- a/CMake/CatchMiscFunctions.cmake
+++ b/CMake/CatchMiscFunctions.cmake
@@ -45,6 +45,7 @@ function(add_warnings_to_targets targets)
set(CHECKED_WARNING_FLAGS
"-Wabsolute-value"
"-Wall"
+ "-Wc++20-compat"
"-Wcall-to-pure-virtual-from-ctor-dtor"
"-Wcast-align"
"-Wcatch-value"