From fd23ffcd924d178b5f28b4523bbc067ea2b45d4a Mon Sep 17 00:00:00 2001 From: DepthDeluxe Date: Wed, 2 Mar 2016 09:36:40 -0500 Subject: [PATCH] cleaned up cxx flags --- CMakeLists.txt | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 83e8b71..11d905e 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -106,9 +106,7 @@ endif() # Compiler flags if(UNIX) - #set(CMAKE_CXX_FLAGS ${CMAKE_CXX_FLAGS} -std=gnu++11) - set(CMAKE_CXX_FLAGS ${CMAKE_CXX_FLAGS} -pthread) - set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wall -Wextra -Wno-strict-overflow -Wno-comment -Wno-unknown-pragmas -fvisibility=hidden -fno-omit-frame-pointer") + set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wall -Wextra -Wno-strict-overflow -Wno-comment -Wno-unknown-pragmas -fvisibility=hidden -fno-omit-frame-pointer -pthread") set(CMAKE_INSTALL_RPATH ${CMAKE_INSTALL_PREFIX}/lib ${_qt5Core_install_prefix}/lib) if(NOT APPLE) if(${CMAKE_CXX_COMPILER} STREQUAL "/opt/intel/bin/icpc") -- libgit2 0.21.4