Commit fd23ffcd924d178b5f28b4523bbc067ea2b45d4a
1 parent
0cdc20fb
cleaned up cxx flags
Showing
1 changed file
with
1 additions
and
3 deletions
CMakeLists.txt
| ... | ... | @@ -106,9 +106,7 @@ endif() |
| 106 | 106 | |
| 107 | 107 | # Compiler flags |
| 108 | 108 | if(UNIX) |
| 109 | - #set(CMAKE_CXX_FLAGS ${CMAKE_CXX_FLAGS} -std=gnu++11) | |
| 110 | - set(CMAKE_CXX_FLAGS ${CMAKE_CXX_FLAGS} -pthread) | |
| 111 | - set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wall -Wextra -Wno-strict-overflow -Wno-comment -Wno-unknown-pragmas -fvisibility=hidden -fno-omit-frame-pointer") | |
| 109 | + set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wall -Wextra -Wno-strict-overflow -Wno-comment -Wno-unknown-pragmas -fvisibility=hidden -fno-omit-frame-pointer -pthread") | |
| 112 | 110 | set(CMAKE_INSTALL_RPATH ${CMAKE_INSTALL_PREFIX}/lib ${_qt5Core_install_prefix}/lib) |
| 113 | 111 | if(NOT APPLE) |
| 114 | 112 | if(${CMAKE_CXX_COMPILER} STREQUAL "/opt/intel/bin/icpc") | ... | ... |