For backward compatibility
This commit is contained in:
parent
e5bfc65137
commit
871cd3968f
|
@ -28,6 +28,7 @@ if(EXISTS ${SELF_DIR}/OpenJPEGTargets.cmake)
|
|||
include(${SELF_DIR}/OpenJPEGTargets.cmake)
|
||||
get_filename_component(OPENJPEG_INCLUDE_ROOT "${SELF_DIR}/../../@OPENJPEG_INSTALL_INCLUDE_DIR@" ABSOLUTE)
|
||||
set(OPENJPEG_INCLUDE_DIRS ${OPENJPEG_INCLUDE_ROOT})
|
||||
set(OPENJPEG_LIBRARIES openjpeg)
|
||||
|
||||
else(EXISTS ${SELF_DIR}/OpenJPEGTargets.cmake)
|
||||
if(EXISTS ${SELF_DIR}/OpenJPEGExports.cmake)
|
||||
|
|
Loading…
Reference in New Issue