summaryrefslogtreecommitdiffstats
path: root/graphics/luminance-hdr/patches/luminance-hdr-2.6.0-cmake.patch
diff options
context:
space:
mode:
author Matteo Bernardini2024-01-06 12:41:37 +0100
committer Matteo Bernardini2024-01-06 12:41:37 +0100
commitfe3246520fdd9384b37c239f667d15d5670e22f7 (patch)
tree25c845115bbee672bbce83aa1199872dab5d9372 /graphics/luminance-hdr/patches/luminance-hdr-2.6.0-cmake.patch
parent250567ef4686938cf7079c4a7149e328c98489d9 (diff)
downloadslackbuilds-fe3246520fdd9384b37c239f667d15d5670e22f7.tar.gz
20240106.1 global branch merge.current-20240106.1
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
Diffstat (limited to 'graphics/luminance-hdr/patches/luminance-hdr-2.6.0-cmake.patch')
-rw-r--r--graphics/luminance-hdr/patches/luminance-hdr-2.6.0-cmake.patch22
1 files changed, 22 insertions, 0 deletions
diff --git a/graphics/luminance-hdr/patches/luminance-hdr-2.6.0-cmake.patch b/graphics/luminance-hdr/patches/luminance-hdr-2.6.0-cmake.patch
new file mode 100644
index 0000000000..5564ebadc9
--- /dev/null
+++ b/graphics/luminance-hdr/patches/luminance-hdr-2.6.0-cmake.patch
@@ -0,0 +1,22 @@
+--- a/CMakeLists.txt 2019-06-09 21:18:38.000000000 +0200
++++ b/CMakeLists.txt 2019-09-15 23:53:19.496802424 +0200
+@@ -5,19 +5,6 @@
+ CMAKE_POLICY(SET CMP0053 NEW)
+ PROJECT("Luminance HDR")
+
+-string(TOLOWER ${CMAKE_BUILD_TYPE} LOWERCASE_CMAKE_BUILD_TYPE)
+-if(LOWERCASE_CMAKE_BUILD_TYPE MATCHES "^(debug|release|relwithdebinfo|minsizerel)$")
+- message(STATUS "CMAKE_BUILD_TYPE: ${CMAKE_BUILD_TYPE}")
+-else()
+- message(FATAL_ERROR "Invalid value for CMAKE_BUILD_TYPE: ${CMAKE_BUILD_TYPE}\n"
+- "CMAKE_BUILD_TYPE should be one of:\nDebug, Release, RelWithDebInfo, MinSizeRel")
+-endif()
+-
+-if(LOWERCASE_CMAKE_BUILD_TYPE MATCHES "^(release|minsizerel)$")
+- message(STATUS "Adding definitions: -DQT_NO_DEBUG_OUTPUT")
+- add_definitions("-DQT_NO_DEBUG_OUTPUT")
+-endif()
+-
+ # assume built-in pthreads on MacOS
+ IF(APPLE)
+ enable_language(CXX)