ports/graphics/darktable/files/patch-src_CMakeLists.txt
Jean-Sébastien Pédron 1ec3dcad57
graphics/darktable: Update to 3.6.0
Release notes:
* https://www.darktable.org/2021/07/darktable-3-6/
* https://github.com/darktable-org/darktable/releases/tag/release-3.6.0

Thank you to Ludger Bolmerg <lbolmerg@posteo.de> for the initial version
of the patch!

PR:		257061
2021-08-02 11:00:46 +02:00

11 lines
417 B
Text

--- src/CMakeLists.txt.orig 2021-04-29 21:04:27 UTC
+++ src/CMakeLists.txt
@@ -388,7 +393,7 @@ if(USE_OPENJPEG)
add_definitions("-DHAVE_OPENJPEG")
list(APPEND SOURCES "common/imageio_j2k.c")
- include_directories(SYSTEM ${OpenJPEG_INCLUDE_DIRS})
+ include_directories(BEFORE SYSTEM ${OpenJPEG_INCLUDE_DIRS})
list(APPEND LIBS ${OpenJPEG_LIBRARIES})
endif(OpenJPEG_FOUND)
endif(USE_OPENJPEG)