Browse Source

openjpeg: Patch for *.cmake files location

android-5
Fredrik Fornwall 8 years ago
parent
commit
65a1c7262e
  1. 12
      packages/openjpeg/CMakeLists.txt.patch

12
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)
Loading…
Cancel
Save