summaryrefslogtreecommitdiff
path: root/user/openjpeg/fix-include-path.patch
diff options
context:
space:
mode:
Diffstat (limited to 'user/openjpeg/fix-include-path.patch')
-rw-r--r--user/openjpeg/fix-include-path.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/user/openjpeg/fix-include-path.patch b/user/openjpeg/fix-include-path.patch
new file mode 100644
index 000000000..f5ff1e60d
--- /dev/null
+++ b/user/openjpeg/fix-include-path.patch
@@ -0,0 +1,11 @@
+--- openjpeg-2.3.0/cmake/OpenJPEGConfig.cmake.in.old 2017-10-04 22:23:14.000000000 +0000
++++ openjpeg-2.3.0/cmake/OpenJPEGConfig.cmake.in 2018-09-06 00:53:22.860000000 +0000
+@@ -26,7 +26,7 @@
+ 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()