From b23f71974f3e3dbeb5279edfac0ce3207e6f7738 Mon Sep 17 00:00:00 2001 From: Peter Heywood Date: Thu, 11 Jan 2024 14:39:58 +0000 Subject: [PATCH] fixup --- cmake/warnings.cmake | 1 - 1 file changed, 1 deletion(-) diff --git a/cmake/warnings.cmake b/cmake/warnings.cmake index 19ada8807..e72345f84 100644 --- a/cmake/warnings.cmake +++ b/cmake/warnings.cmake @@ -120,7 +120,6 @@ if(NOT COMMAND flamegpu_suppress_some_compiler_warnings) target_compile_options(${SSCW_TARGET} PRIVATE "$<$:SHELL:-Xcudafe --diag_suppress=code_is_unreachable>") target_compile_options(${SSCW_TARGET} PRIVATE "$<$:SHELL:--diag_suppress=code_is_unreachable>") # older nvhpc as host compiler warns for intentional declared but never referenced parameters. only supported from 22.7/9 - message(FATAL_ERROR "${CMAKE_CXX_COMPILER_VERSION}") if(CMAKE_CXX_COMPILER_VERSION VERSION_GREATER_EQUAL "22.7") target_compile_options(${SSCW_TARGET} PRIVATE "$<$:SHELL:-Wno-unused-but-set-parameter>") target_compile_options(${SSCW_TARGET} PRIVATE "$<$:SHELL:-Xcompiler -Wno-unused-but-set-parameter>")