Commit 611ac236385de71f5ea4a38065b241dab65ce329
1 parent
915787e3
be more selective about the warnings we care about
Showing
1 changed file
with
1 additions
and
1 deletions
CMakeLists.txt
| ... | ... | @@ -117,7 +117,7 @@ endif() |
| 117 | 117 | |
| 118 | 118 | # Compiler flags |
| 119 | 119 | if(UNIX) |
| 120 | - set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wall -Wextra -Wno-strict-overflow -Wno-comment -Wno-unknown-pragmas -fvisibility=hidden -fno-omit-frame-pointer") | |
| 120 | + set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wall -Wno-strict-overflow -Wno-terminate -Wno-sign-compare -Wno-unused-local-typedefs -Wno-int-in-bool-context -Wno-comment -Wno-unknown-pragmas -fvisibility=hidden -fno-omit-frame-pointer") | |
| 121 | 121 | set(CMAKE_INSTALL_RPATH ${CMAKE_INSTALL_PREFIX}/lib ${_qt5Core_install_prefix}/lib) |
| 122 | 122 | if(NOT APPLE) |
| 123 | 123 | if(${CMAKE_CXX_COMPILER} STREQUAL "/opt/intel/bin/icpc") | ... | ... |