ledger: don't overwrite CMAKE_BUILD_TYPE
This commit is contained in:
12
srcpkgs/ledger/patches/fix-cflags.patch
Normal file
12
srcpkgs/ledger/patches/fix-cflags.patch
Normal file
@@ -0,0 +1,12 @@
|
||||
Index: CMakeLists.txt
|
||||
===================================================================
|
||||
--- CMakeLists.txt.orig
|
||||
+++ CMakeLists.txt
|
||||
@@ -41,7 +41,6 @@ if (BUILD_DEBUG)
|
||||
set(CMAKE_BUILD_TYPE Debug)
|
||||
set(DEBUG_MODE 1)
|
||||
else()
|
||||
- set(CMAKE_BUILD_TYPE Release)
|
||||
set(DEBUG_MODE 0)
|
||||
endif()
|
||||
|
||||
Reference in New Issue
Block a user