Skip to content

Commit

Permalink
Fixes for clang >=14
Browse files Browse the repository at this point in the history
  • Loading branch information
VladyslavUsenko committed Nov 12, 2022
1 parent f34d132 commit 45e0313
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 45e0313

Please sign in to comment.