void-packages/srcpkgs/zbackup/patches/cmake-build-type-none.patch
2021-04-03 10:13:11 +07:00

26 lines
723 B
Diff

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 )