From: Jarrett Chisholm Date: Mon, 16 Jan 2017 03:49:42 +0000 (-0500) Subject: We don't need to specify c++11 flag X-Git-Url: https://code.bitgloo.com/?a=commitdiff_plain;h=1383b0601600ca173c3c662ba5b245aac3a44678;p=clyne%2Fentityx.git We don't need to specify c++11 flag --- diff --git a/CMakeLists.txt b/CMakeLists.txt index cd8ed60..60e2918 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -28,7 +28,7 @@ include(CheckCXXSourceCompiles) # Default compiler args if (CMAKE_CXX_COMPILER_ID MATCHES "(GNU|.*Clang)") - set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -pedantic -Werror -Wall -Wextra -Wno-unused-parameter -Wno-error=unused-variable -Wno-error=sign-compare -std=c++11") + set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -pedantic -Werror -Wall -Wextra -Wno-unused-parameter -Wno-error=unused-variable -Wno-error=sign-compare") set(CMAKE_CXX_FLAGS_DEBUG "-O0 -g") set(CMAKE_CXX_FLAGS_MINSIZEREL "-g -Os -DNDEBUG") set(CMAKE_CXX_FLAGS_RELEASE "-g -O2 -DNDEBUG")