Be -Wunused-macros clean

This commit is contained in:
Ingo Weyrich
2020-02-07 20:18:35 +01:00
parent aae22fcc86
commit 8f291c3ff2
22 changed files with 1 additions and 63 deletions

View File

@@ -402,7 +402,7 @@ if(WITH_PROF)
set(CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} -pg")
endif()
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wall -Wuninitialized -Wcast-qual -Wno-deprecated-declarations -Wno-unused-result")
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wall -Wuninitialized -Wcast-qual -Wno-deprecated-declarations -Wno-unused-result -Wunused-macros")
if(OPTION_OMP)
find_package(OpenMP)
if(OPENMP_FOUND)