aboutsummaryrefslogtreecommitdiff
path: root/graphics/darktable38/files/patch-src_CMakeLists.txt
blob: 11a76410ad0153ad8c9c10fff905a015f88bf3e7 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
--- 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)