From 45e0313dd0120d3032d357361514f66e4a81c393 Mon Sep 17 00:00:00 2001 From: Vladyslav Usenko Date: Sun, 13 Nov 2022 00:30:28 +0100 Subject: [PATCH] Fixes for clang >=14 --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 0d975e2..db1654b 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -109,7 +109,7 @@ if(CMAKE_CXX_COMPILER_ID STREQUAL "Clang" OR CMAKE_CXX_COMPILER_ID STREQUAL "App if(CMAKE_CXX_COMPILER_ID STREQUAL "Clang" AND CMAKE_CXX_COMPILER_VERSION VERSION_GREATER_EQUAL 10) # These are disabled to avoid lot's of warnings in Eigen code with clang 10 - set(BASALT_CXX_FLAGS "${BASALT_CXX_FLAGS} -Wno-misleading-indentation -Wno-error=deprecated-copy") + set(BASALT_CXX_FLAGS "${BASALT_CXX_FLAGS} -Wno-misleading-indentation -Wno-error=unused-but-set-variable -Wno-error=deprecated-copy") endif() # - Added TBB_USE_GLIBCXX_VERSION macro to specify the version of GNU