aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJarrett Chisholm <jarrettchisholm@gmail.com>2017-01-15 22:49:42 -0500
committerJarrett Chisholm <jarrettchisholm@gmail.com>2017-01-15 22:49:42 -0500
commit1383b0601600ca173c3c662ba5b245aac3a44678 (patch)
tree1a07688b6384eefbb8d9cb68fb162c4640abb945
parent84c2ef37e3fb79e270ba7c82a74500a3479ed30c (diff)
We don't need to specify c++11 flag
-rw-r--r--CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
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")