File fix-cmake-install-paths.patch of Package libdecaf-1.0.2-fedora-opensuse-archlinux-debian-ubuntu-raspbian

Description: Install cmake files below /usr/lib/<triplet>
Author: Dennis Filder <d.filder@web.de>
Last-Update: 2022-01-14
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -72,7 +72,7 @@
 endif()
 
 include(CMakePackageConfigHelpers)
-set(ConfigPackageLocation share/decaf/cmake)
+set(ConfigPackageLocation ${CMAKE_INSTALL_FULL_LIBDIR}/cmake/decaf)
 export(EXPORT ${EXPORT_TARGETS_NAME}Targets
 	FILE "${CMAKE_CURRENT_BINARY_DIR}/DecafTargets.cmake"
 )
openSUSE Build Service is sponsored by