Clean up some crap - remove generated config.h (old junk) and also requirements for that in Error.h
--HG-- branch : trunk
This commit is contained in:
1 parent
c4c0f5734e
commit
33829ed45e
3 files changed
+12
-13
No files matched your search
+4
-3
@@ -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)
|
||||
|
||||
Reference in new issue
Block a user