m-chrzan.xyz
aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarcin Chrzanowski <marcin.j.chrzanowski@gmail.com>2017-01-07 22:19:03 -0500
committerMarcin Chrzanowski <marcin.j.chrzanowski@gmail.com>2017-01-08 20:33:17 +0100
commit7285cb9105faa4981d28ab6a936deb517438b0f9 (patch)
treefa229d30da6b73ed91270c8c0aab8ce24a504f13
parentdf2c6a608a5b238e7b2e5265e05e48535e036263 (diff)
Remove unused debug option
-rw-r--r--CMakeLists.txt12
1 files changed, 1 insertions, 11 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index f3b2d3b..ef06081 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -3,17 +3,7 @@ project(brandes CXX)
find_package ( Threads REQUIRED )
-option(DEBUG OFF)
-
-if (DEBUG)
- set(CMAKE_BUILD_TYPE DEBUG)
-else (DEBUG)
- set(CMAKE_BUILD_TYPE RELEASE)
-endif (DEBUG)
-
-set(CMAKE_CXX_FLAGS "-std=c++14")
-set(CMAKE_CXX_FLAGS_DEBUG "-Wall -g")
-set(CMAKE_CXX_FLAGS_RELASE "-O3")
+set(CMAKE_CXX_FLAGS "-std=c++14 -O3")
set(SOURCE_FILES src/brandes.cc
src/parse.h