From 871ad3508b122dea18c12864f4218f7d3f711b53 Mon Sep 17 00:00:00 2001 From: "A. Wilcox" Date: Thu, 6 Sep 2018 00:44:14 +0000 Subject: 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/ --- user/openjpeg/fix-include-path.patch | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 user/openjpeg/fix-include-path.patch (limited to 'user/openjpeg/fix-include-path.patch') 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() -- cgit v1.2.3-60-g2f50