Commit 868f7b29 authored by Rex Dieter's avatar Rex Dieter

better CMAKECONFIG_INSTALL_DIR fix

this should handle both relative and full paths properly
parent 8b12a71c
......@@ -4,7 +4,7 @@ include_directories(
${CMAKE_CURRENT_BINARY_DIR}
)
set(CMAKECONFIG_INSTALL_DIR "${CMAKECONFIG_INSTALL_PREFIX}/KAccounts")
set(CMAKECONFIG_INSTALL_DIR "${KDE_INSTALL_FULL_CMAKEPACKAGEDIR}/KAccounts")
include(ECMPackageConfigHelpers)
include(ECMSetupVersion)
......
......@@ -9,4 +9,4 @@ include("${CMAKE_CURRENT_LIST_DIR}/FindAccountsFileDir.cmake")
include("${CMAKE_CURRENT_LIST_DIR}/KAccountsTargets.cmake")
include("${CMAKE_CURRENT_LIST_DIR}/KAccountsMacros.cmake")
set(KACCOUNTS_MACROS_PATH "@CMAKE_INSTALL_PREFIX@/@CMAKECONFIG_INSTALL_DIR@")
set(KACCOUNTS_MACROS_PATH "@CMAKECONFIG_INSTALL_DIR@")
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment