aboutsummaryrefslogtreecommitdiffstats
path: root/community/quazip/cmake-path.patch
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2019-05-08 13:04:40 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2019-05-08 13:05:33 +0000
commit9fe31efc0e34942447c95a19dbaaddcbd0f1af5c (patch)
treecd4445d4a09ccccab056c43a7f4eab48692ee69c /community/quazip/cmake-path.patch
parentcd4a4d4cbca4d05db9f4f8fea0de1cbf82c6a755 (diff)
downloadaports-9fe31efc0e34942447c95a19dbaaddcbd0f1af5c.tar.bz2
aports-9fe31efc0e34942447c95a19dbaaddcbd0f1af5c.tar.xz
community/quazip: build with cmake
cmake will give a suffix "5" which seems to be expected by nomacs
Diffstat (limited to 'community/quazip/cmake-path.patch')
-rw-r--r--community/quazip/cmake-path.patch10
1 files changed, 10 insertions, 0 deletions
diff --git a/community/quazip/cmake-path.patch b/community/quazip/cmake-path.patch
new file mode 100644
index 0000000000..79152dfa1e
--- /dev/null
+++ b/community/quazip/cmake-path.patch
@@ -0,0 +1,10 @@
+diff --git a/CMakeLists.txt b/CMakeLists.txt
+index 3d2fb55..98be14e 100644
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -60,4 +60,4 @@ set(QUAZIP_LIB_TARGET_NAME quazip${QUAZIP_LIB_VERSION_SUFFIX} CACHE
+
+ add_subdirectory(quazip)
+
+-install(FILES FindQuaZip.cmake RENAME FindQuaZip${QUAZIP_LIB_VERSION_SUFFIX}.cmake DESTINATION ${CMAKE_ROOT}/Modules)
++install(FILES FindQuaZip.cmake RENAME FindQuaZip${QUAZIP_LIB_VERSION_SUFFIX}.cmake DESTINATION ${CMAKE_INSTALL_PREFIX}/lib/cmake/QuaZip)