:construction: add nvcc Signed-off-by: Niels Lohmann <mail@nlohmann.me>
diff --git a/tests/CMakeLists.txt b/tests/CMakeLists.txt index b1dc5df..c3cde40 100644 --- a/tests/CMakeLists.txt +++ b/tests/CMakeLists.txt
@@ -75,8 +75,8 @@ # https://github.com/nlohmann/json/pull/3229 $<$<CXX_COMPILER_ID:Intel>:-diag-disable=2196> - $<$<NOT:$<CXX_COMPILER_ID:MSVC>>:-Wno-deprecated;-Wno-float-equal> - $<$<CXX_COMPILER_ID:GNU>:-Wno-deprecated-declarations> + $<$<CXX_COMPILER_ID:GNU>:-Wno-deprecated-declarations;-Wno-deprecated;-Wno-float-equal> + $<$<CXX_COMPILER_ID:Clang>:-Wno-deprecated-declarations;-Wno-deprecated;-Wno-float-equal> $<$<CXX_COMPILER_ID:Intel>:-diag-disable=1786>) target_include_directories(test_main PUBLIC thirdparty/doctest
diff --git a/tests/abi/CMakeLists.txt b/tests/abi/CMakeLists.txt index ba90837..83c3113 100644 --- a/tests/abi/CMakeLists.txt +++ b/tests/abi/CMakeLists.txt
@@ -12,8 +12,8 @@ # https://github.com/nlohmann/json/pull/3229 $<$<CXX_COMPILER_ID:Intel>:-diag-disable=2196> - $<$<NOT:$<CXX_COMPILER_ID:MSVC>>:-Wno-deprecated;-Wno-float-equal> - $<$<CXX_COMPILER_ID:GNU>:-Wno-deprecated-declarations> + $<$<CXX_COMPILER_ID:GNU>:-Wno-deprecated-declarations;-Wno-deprecated;-Wno-float-equal> + $<$<CXX_COMPILER_ID:Clang>:-Wno-deprecated-declarations;-Wno-deprecated;-Wno-float-equal> $<$<CXX_COMPILER_ID:Intel>:-diag-disable=1786>) target_include_directories(abi_compat_common SYSTEM INTERFACE ../thirdparty/doctest