diff options
author | click <none@none> | 2010-08-03 22:51:27 +0200 |
---|---|---|
committer | click <none@none> | 2010-08-03 22:51:27 +0200 |
commit | 33829ed45eec11d3e3b380b26fca4872e99c8f19 (patch) | |
tree | df6a11bbb213e10d37ff91a498460974fbdaf8eb /CMakeLists.txt | |
parent | c4c0f5734e79431639959f894ee84fb46d192145 (diff) |
Clean up some crap - remove generated config.h (old junk) and also requirements for that in Error.h
--HG--
branch : trunk
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r-- | CMakeLists.txt | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index cde22deeaf4..9573bbc8460 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -186,7 +186,10 @@ endif() if( DEBUG ) message("* Build in debug-mode : Yes") - add_definitions(-g -DTRINITY_DEBUG) + add_definitions(-DTRINITY_DEBUG) + if(CMAKE_COMPILER_IS_GNUCXX) + add_definitions(-g) + endif() else() message("* Build in debug-mode : No (default)") endif() @@ -226,8 +229,6 @@ endif() message("") -configure_file(${CMAKE_CURRENT_SOURCE_DIR}/config.h.cmake ${CMAKE_CURRENT_BINARY_DIR}/config.h) - # Little tweak for OS X if( CMAKE_SYSTEM_NAME MATCHES "Darwin" ) set(MACOSX 1) |