From f039b3cc4475fb32663c19cb4d3c54fe905f1458 Mon Sep 17 00:00:00 2001 From: Nikolaus Demmel Date: Wed, 24 Jun 2020 12:19:55 +0200 Subject: [PATCH] fix cmake typo and completely silence indentation warning (eigen) --- CMakeLists.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index a6c4683..e3f5c27 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -104,7 +104,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_HEADERS_CXX_FLAGS} -Wno-error=misleading-indentation -Wno-error=deprecated-copy") + set(BASALT_CXX_FLAGS "${BASALT_CXX_FLAGS} -Wno-misleading-indentation -Wno-error=deprecated-copy") endif() # - Added TBB_USE_GLIBCXX_VERSION macro to specify the version of GNU @@ -121,7 +121,7 @@ else() if(CMAKE_CXX_COMPILER_VERSION VERSION_GREATER_EQUAL 9) # These are disabled to avoid lot's of warnings in Eigen code with gcc-9 - set(BASALT_CXX_FLAGS "${BASALT_HEADERS_CXX_FLAGS} -Wno-error=deprecated-copy") + set(BASALT_CXX_FLAGS "${BASALT_CXX_FLAGS} -Wno-error=deprecated-copy") endif() endif()