diff --git a/cmake_modules/ConfigureCompiler.cmake b/cmake_modules/ConfigureCompiler.cmake index e4cb934010..e33e39c463 100644 --- a/cmake_modules/ConfigureCompiler.cmake +++ b/cmake_modules/ConfigureCompiler.cmake @@ -64,10 +64,6 @@ else() endif() #TODO Clean the code so these are removed - if (NOT (${CMAKE_CXX_COMPILER_ID} MATCHES "GNU") OR (CMAKE_CXX_COMPILER_VERSION VERSION_LESS 10.1)) - add_compile_options(-Wno-attributes) - endif() - if(CMAKE_CXX_COMPILER_ID MATCHES "Clang") add_compile_options(-fconstexpr-steps=16777216) add_compile_options(-Wno-unused-lambda-capture)