CMake: add openjpeg 2x search paths

Wasn't finding the include path by on Linux.
This commit is contained in:
Campbell Barton 2018-09-12 16:26:15 +10:00
parent a8c924423e
commit 2e36a1809f
1 changed files with 11 additions and 0 deletions

View File

@ -41,6 +41,17 @@ FIND_PATH(OPENJPEG_INCLUDE_DIR
${_openjpeg_SEARCH_DIRS}
PATH_SUFFIXES
include
# Support future versions
openjpeg-2.9
openjpeg-2.8
openjpeg-2.7
openjpeg-2.6
openjpeg-2.5
openjpeg-2.4
openjpeg-2.3
openjpeg-2.2
openjpeg-2.1
openjpeg-2.0
)
FIND_LIBRARY(OPENJPEG_LIBRARY