5a34fde79b
follow-up commit for 65a1c72
14 lines
671 B
Diff
14 lines
671 B
Diff
diff --git a/cmake/OpenJPEGConfig.cmake.in b/cmake/OpenJPEGConfig.cmake.in
|
|
index b20294ca..6a2f4baf 100644
|
|
--- a/cmake/OpenJPEGConfig.cmake.in
|
|
+++ b/cmake/OpenJPEGConfig.cmake.in
|
|
@@ -26,7 +26,7 @@ get_filename_component(SELF_DIR "${CMAKE_CURRENT_LIST_FILE}" PATH)
|
|
if(EXISTS ${SELF_DIR}/OpenJPEGTargets.cmake)
|
|
# This is an install tree
|
|
include(${SELF_DIR}/OpenJPEGTargets.cmake)
|
|
- get_filename_component(OPENJPEG_INCLUDE_ROOT "${SELF_DIR}/../../@OPENJPEG_INSTALL_INCLUDE_DIR@" ABSOLUTE)
|
|
+ get_filename_component(OPENJPEG_INCLUDE_ROOT "${SELF_DIR}/../../../@OPENJPEG_INSTALL_INCLUDE_DIR@" ABSOLUTE)
|
|
set(OPENJPEG_INCLUDE_DIRS ${OPENJPEG_INCLUDE_ROOT})
|
|
|
|
else()
|