Skip to content

Commit

Permalink
zbackup: don't overwrite CMAKE_BUILD_TYPE
Browse files Browse the repository at this point in the history
  • Loading branch information
sgn committed Mar 29, 2021
1 parent fedcdb0 commit 08e63d5
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions srcpkgs/zbackup/patches/cmake-build-type-none.patch
Original file line number Diff line number Diff line change
@@ -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 )

0 comments on commit 08e63d5

Please sign in to comment.