summaryrefslogtreecommitdiff
path: root/user/openjpeg/fix-include-path.patch
blob: f5ff1e60d3729edb3dfca17a7ff9d23a9cfc4a4e (plain) (blame)
1
2
3
4
5
6
7
8
9
10
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()