Permalink
Browse files

correct CMake flags for no build type specified.

  • Loading branch information...
1 parent e13c2b8 commit 90c853d518fd59e065a5a58cd068a8eed183f91a @stefanbeller stefanbeller committed Dec 30, 2012
Showing with 4 additions and 4 deletions.
  1. +4 −4 CMakeLists.txt
View
@@ -32,10 +32,10 @@ elseif(CMAKE_BUILD_TYPE STREQUAL "Debug")
set(CMAKE_SHARED_LINKER_FLAGS_DEBUG "-pg")
set(CMAKE_MODULE_LINKER_FLAGS_DEBUG "-pg")
else()
- set(CMAKE_CXX_FLAGS_DEBUG "-O0 -g3 -pg")
- set(CMAKE_EXE_LINKER_FLAGS_DEBUG "-pg")
- set(CMAKE_SHARED_LINKER_FLAGS_DEBUG "-pg")
- set(CMAKE_MODULE_LINKER_FLAGS_DEBUG "-pg")
+ set(CMAKE_CXX_FLAGS "-g3 -pg")
+ set(CMAKE_EXE_LINKER_FLAGS "-pg")
+ set(CMAKE_SHARED_LINKER_FLAGS "-pg")
+ set(CMAKE_MODULE_LINKER_FLAGS "-pg")
endif()
set(BINDIR "games" CACHE STRING "Directory from CMAKE_INSTALL_PREFIX where game executable will be installed.")

0 comments on commit 90c853d

Please sign in to comment.