From: Dennis Filder <d.filder@web.de>
Date: Sun, 2 Nov 2025 20:27:10 +0100
Subject: Install cmake files below /usr/lib/<triplet>

Last-Update: 2022-01-14
---
 CMakeLists.txt | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/CMakeLists.txt b/CMakeLists.txt
index b243e8d..ca784b1 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -75,7 +75,7 @@ if(ENABLE_TESTS)
 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"
 )
