diff options
author | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2018-09-06 00:44:14 +0000 |
---|---|---|
committer | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2018-09-06 00:54:39 +0000 |
commit | 871ad3508b122dea18c12864f4218f7d3f711b53 (patch) | |
tree | 613170f36898016a7c1827add85a6d55e66c72f0 /user/openjpeg/fix-include-path.patch | |
parent | 6f5b1ce73cb5bea8b35e1926851f7e298ead6320 (diff) | |
download | packages-871ad3508b122dea18c12864f4218f7d3f711b53.tar.gz packages-871ad3508b122dea18c12864f4218f7d3f711b53.tar.bz2 packages-871ad3508b122dea18c12864f4218f7d3f711b53.tar.xz packages-871ad3508b122dea18c12864f4218f7d3f711b53.zip |
user/openjpeg: fix building against OpenJPEG
- CMake files require -tools now
- CMake relative path was broken because we put it in /usr/lib/cmake/
instead of /usr/lib/
Diffstat (limited to 'user/openjpeg/fix-include-path.patch')
-rw-r--r-- | user/openjpeg/fix-include-path.patch | 11 |
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() |