m-chrzan.xyz
aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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