zbackup: don't overwrite CMAKE_BUILD_TYPE

This commit is contained in:
Đoàn Trần Công Danh 2021-03-28 10:43:24 +07:00
parent d342ec4680
commit 8048e3997d

View file

@ -0,0 +1,26 @@
Index: CMakeLists.txt
===================================================================
--- CMakeLists.txt.orig
+++ CMakeLists.txt
@@ -6,8 +6,6 @@ project( zbackup )
set( CMAKE_MODULE_PATH "${CMAKE_CURRENT_SOURCE_DIR}/cmake" )
-set( CMAKE_BUILD_TYPE Release )
-
find_package( ZLIB REQUIRED )
include_directories( ${ZLIB_INCLUDE_DIRS} )
Index: tartool/CMakeLists.txt
===================================================================
--- tartool/CMakeLists.txt.orig
+++ tartool/CMakeLists.txt
@@ -4,8 +4,6 @@
cmake_minimum_required( VERSION 2.6.0 )
project( tartool )
-set( CMAKE_BUILD_TYPE Release )
-
add_executable( tartool tartool.cc ../file.cc ../dir.cc )
install( TARGETS tartool DESTINATION bin )