]> git.pld-linux.org Git - packages/cryptopp.git/blobdiff - cryptopp-libdir.patch
- added libdir patch (adjusts cmake install dir wrt. LIB_SUFFIX)
[packages/cryptopp.git] / cryptopp-libdir.patch
diff --git a/cryptopp-libdir.patch b/cryptopp-libdir.patch
new file mode 100644 (file)
index 0000000..91b1c39
--- /dev/null
@@ -0,0 +1,13 @@
+--- cryptopp-5.6.4/CMakeLists.txt.orig 2016-09-11 09:07:48.000000000 +0200
++++ cryptopp-5.6.4/CMakeLists.txt      2017-06-06 21:43:31.328699739 +0200
+@@ -306,8 +306,8 @@
+ if(NOT CMAKE_VERSION VERSION_LESS 2.8.8)      # CMakePackageConfigHelpers is supported from 2.8.8\r
+       include(CMakePackageConfigHelpers)\r
+       write_basic_package_version_file("${PROJECT_BINARY_DIR}/cryptopp-config-version.cmake" VERSION ${cryptopp_VERSION_MAJOR}.${cryptopp_VERSION_MINOR}.${cryptopp_VERSION_PATCH} COMPATIBILITY SameMajorVersion)\r
+-      install(FILES cryptopp-config.cmake ${PROJECT_BINARY_DIR}/cryptopp-config-version.cmake DESTINATION "lib/cmake/cryptopp")\r
+-      install(EXPORT ${export_name} DESTINATION "lib/cmake/cryptopp")\r
++      install(FILES cryptopp-config.cmake ${PROJECT_BINARY_DIR}/cryptopp-config-version.cmake DESTINATION "lib${LIB_SUFFIX}/cmake/cryptopp")\r
++      install(EXPORT ${export_name} DESTINATION "lib${LIB_SUFFIX}/cmake/cryptopp")\r
+ endif()\r
\r
+ # Tests\r
This page took 0.032501 seconds and 4 git commands to generate.