Changeset - r24352:0af03fb87f42
[Not reviewed]
master
0 1 0
Charles Pigott - 4 years ago 2020-09-24 16:48:03
charlespigott@googlemail.com
Codechange: Set CMAKE_BUILD_TYPE to default to debug if not otherwise set
1 file changed with 5 insertions and 0 deletions:
0 comments (0 inline, 0 general)
CMakeLists.txt
Show inline comments
 
@@ -10,6 +10,11 @@ if(CMAKE_SOURCE_DIR STREQUAL CMAKE_BINAR
 
    message(FATAL_ERROR "In-source builds not allowed. Please run \"cmake ..\" from the bin directory")
 
endif()
 

	
 
# Debug mode by default.
 
if(NOT CMAKE_BUILD_TYPE)
 
    set(CMAKE_BUILD_TYPE Debug)
 
endif()
 

	
 
set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} "${CMAKE_SOURCE_DIR}/cmake")
 
set(CMAKE_OSX_DEPLOYMENT_TARGET 10.9)
 

	
0 comments (0 inline, 0 general)