mirror of https://github.com/vitalif/zbackup
Respect -DCMAKE_BUILD_TYPE in cmake args
https://groups.google.com/forum/#!topic/zbackup/s6YWHGAS90wmaster
parent
6276815579
commit
cb8a98a651
|
@ -6,7 +6,9 @@ project( zbackup )
|
|||
|
||||
set( CMAKE_MODULE_PATH "${CMAKE_CURRENT_SOURCE_DIR}/cmake" )
|
||||
|
||||
set( CMAKE_BUILD_TYPE Release )
|
||||
if( NOT CMAKE_BUILD_TYPE )
|
||||
set( CMAKE_BUILD_TYPE Release )
|
||||
endif( NOT CMAKE_BUILD_TYPE )
|
||||
|
||||
find_package( ZLIB REQUIRED )
|
||||
include_directories( ${ZLIB_INCLUDE_DIRS} )
|
||||
|
|
Loading…
Reference in New Issue