summaryrefslogtreecommitdiffstats
path: root/graphics/Blender/use-libopenmj2-for-openjpeg.diff
blob: 712337382e745b719ffd90d5a73e7dcd2a5e7a79 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
diff -Nru blender-2.74.orig/build_files/cmake/Modules/FindOpenJPEG.cmake blender-2.74/build_files/cmake/Modules/FindOpenJPEG.cmake
--- blender-2.74.orig/build_files/cmake/Modules/FindOpenJPEG.cmake	2015-03-25 05:56:13.000000000 -0500
+++ blender-2.74/build_files/cmake/Modules/FindOpenJPEG.cmake	2016-01-09 20:17:20.521735656 -0600
@@ -43,11 +43,12 @@
   PATH_SUFFIXES
     include
     include/openjpeg-1.5
+    include/openmj2-2.1
 )
 
 FIND_LIBRARY(OPENJPEG_LIBRARY
   NAMES
-    openjpeg
+    openmj2
   HINTS
     ${_openjpeg_SEARCH_DIRS}
   PATH_SUFFIXES