From 1d9e9fbcdfa7f7e2f63f341f95025c83acd89fd7 Mon Sep 17 00:00:00 2001 From: Dongryeol Lee Date: Mon, 4 Oct 2010 23:17:33 +0000 Subject: [PATCH] Fix to CMake flags. --- .../contrib/dongryel/thesis_research/CMakeLists.txt | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/fastlib/trunk/contrib/dongryel/thesis_research/CMakeLists.txt b/fastlib/trunk/contrib/dongryel/thesis_research/CMakeLists.txt index 7b3839b3ca..7b07ff07d7 100644 --- a/fastlib/trunk/contrib/dongryel/thesis_research/CMakeLists.txt +++ b/fastlib/trunk/contrib/dongryel/thesis_research/CMakeLists.txt @@ -17,9 +17,6 @@ find_package(LAPACK REQUIRED) # LAPACK finds BLAS as a dependency # find pthreads find_package(Pthreads REQUIRED) -# should be changed to default off for a release -option(DEBUG "Compile with debugging information" ON) # default to on for developers - # include boost. set(Boost_USE_STATIC_LIBS ON) find_package(Boost COMPONENTS program_options mpi serialization system thread unit_test_framework REQUIRED) @@ -45,13 +42,6 @@ endif() include_directories(${TRILINOS_INCLUDE_DIR}) include_directories(${MPI_INCLUDE_DIR}) -# If debug, then add debug flags. -if(DEBUG) - set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -g -O0") - set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -g -O0") - add_definitions(-DDEBUG) -endif(DEBUG) - # distclean option because cmake doesn't support it include(CMake/TargetDistclean.cmake OPTIONAL)