Revert "OpenJPEG: update to 2.1 from 1.5"
[blender.git] / build_files / cmake / Modules / FindOpenJPEG.cmake
index 1f825914a3c72e9ab4455a287f13d0111abc26ce..d765103638bf34fafcf880672906789a32bb4706 100644 (file)
@@ -41,14 +41,13 @@ FIND_PATH(OPENJPEG_INCLUDE_DIR
   HINTS
     ${_openjpeg_SEARCH_DIRS}
   PATH_SUFFIXES
-    openjpeg-2.1
-    include/openjpeg-2.1
     include
+    include/openjpeg-1.5
 )
 
 FIND_LIBRARY(OPENJPEG_LIBRARY
   NAMES
-    openjp2
+    openjpeg
   HINTS
     ${_openjpeg_SEARCH_DIRS}
   PATH_SUFFIXES