zbackup: don't overwrite CMAKE_BUILD_TYPE
This commit is contained in:
parent
d342ec4680
commit
8048e3997d
1 changed files with 26 additions and 0 deletions
26
srcpkgs/zbackup/patches/cmake-build-type-none.patch
Normal file
26
srcpkgs/zbackup/patches/cmake-build-type-none.patch
Normal 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 )
|
Loading…
Add table
Reference in a new issue