From 65a1c7262eeff6756f80824af1a72ef680395ae8 Mon Sep 17 00:00:00 2001 From: Fredrik Fornwall Date: Thu, 19 Jan 2017 05:21:45 +0100 Subject: [PATCH] openjpeg: Patch for *.cmake files location --- packages/openjpeg/CMakeLists.txt.patch | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 packages/openjpeg/CMakeLists.txt.patch diff --git a/packages/openjpeg/CMakeLists.txt.patch b/packages/openjpeg/CMakeLists.txt.patch new file mode 100644 index 000000000..2c459f738 --- /dev/null +++ b/packages/openjpeg/CMakeLists.txt.patch @@ -0,0 +1,12 @@ +diff -u -r ../openjpeg-2.1.2/CMakeLists.txt ./CMakeLists.txt +--- ../openjpeg-2.1.2/CMakeLists.txt 2016-09-28 20:18:16.000000000 +0200 ++++ ./CMakeLists.txt 2017-01-19 05:15:37.168652776 +0100 +@@ -148,7 +148,7 @@ + # We could install *.cmake files in share/ however those files contains + # hardcoded path to libraries on a multi-arch system (fedora/debian) those + # path will be different (lib/i386-linux-gnu vs lib/x86_64-linux-gnu) +- set(OPENJPEG_INSTALL_PACKAGE_DIR "${OPENJPEG_INSTALL_LIB_DIR}/${OPENJPEG_INSTALL_SUBDIR}") ++ set(OPENJPEG_INSTALL_PACKAGE_DIR "${OPENJPEG_INSTALL_LIB_DIR}/cmake/${OPENJPEG_INSTALL_SUBDIR}") + endif() + + if (APPLE)