From dede2cf6a292ca42e10afad1bd6a7b16bcf2c5e3 Mon Sep 17 00:00:00 2001 From: Niels Lohmann Date: Tue, 27 May 2025 19:02:47 +0200 Subject: [PATCH] :construction: add nvcc Signed-off-by: Niels Lohmann --- tests/CMakeLists.txt | 4 ++-- tests/abi/CMakeLists.txt | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/tests/CMakeLists.txt b/tests/CMakeLists.txt index b1dc5df10..c3cde40ec 100644 --- a/tests/CMakeLists.txt +++ b/tests/CMakeLists.txt @@ -75,8 +75,8 @@ target_compile_options(test_main PUBLIC # https://github.com/nlohmann/json/pull/3229 $<$:-diag-disable=2196> - $<$>:-Wno-deprecated;-Wno-float-equal> - $<$:-Wno-deprecated-declarations> + $<$:-Wno-deprecated-declarations;-Wno-deprecated;-Wno-float-equal> + $<$:-Wno-deprecated-declarations;-Wno-deprecated;-Wno-float-equal> $<$:-diag-disable=1786>) target_include_directories(test_main PUBLIC thirdparty/doctest diff --git a/tests/abi/CMakeLists.txt b/tests/abi/CMakeLists.txt index ba90837cb..83c311318 100644 --- a/tests/abi/CMakeLists.txt +++ b/tests/abi/CMakeLists.txt @@ -12,8 +12,8 @@ target_compile_options(abi_compat_common INTERFACE # https://github.com/nlohmann/json/pull/3229 $<$:-diag-disable=2196> - $<$>:-Wno-deprecated;-Wno-float-equal> - $<$:-Wno-deprecated-declarations> + $<$:-Wno-deprecated-declarations;-Wno-deprecated;-Wno-float-equal> + $<$:-Wno-deprecated-declarations;-Wno-deprecated;-Wno-float-equal> $<$:-diag-disable=1786>) target_include_directories(abi_compat_common SYSTEM INTERFACE ../thirdparty/doctest