diff -u -p -r a/Accounts/AccountsQt5Config.cmake.in b/Accounts/AccountsQt5Config.cmake.in --- a/Accounts/AccountsQt5Config.cmake.in 2024-03-31 19:32:44.000000000 +0200 +++ b/Accounts/AccountsQt5Config.cmake.in 2026-10-16 23:34:03.520316970 +0200 @@ -1,5 +1,6 @@ # ACCOUNTSQT_INCLUDE_DIRS - The libaccounts-qt include directories # ACCOUNTSQT_LIBRARIES - The libraries needed to use libaccounts-qt -set(ACCOUNTSQT_LIBRARIES $${INSTALL_LIBDIR}/lib$${TARGET}.so) -set(ACCOUNTSQT_INCLUDE_DIRS $${INSTALL_PREFIX}/include/$${TARGET}/) +get_filename_component(_accountsqt_libdir "${CMAKE_CURRENT_LIST_DIR}/../.." ABSOLUTE) +set(ACCOUNTSQT_LIBRARIES ${_accountsqt_libdir}/lib$${TARGET}.so) +set(ACCOUNTSQT_INCLUDE_DIRS ${_accountsqt_libdir}/../include/$${TARGET}/) diff -u -p -r a/Accounts/AccountsQt6Config.cmake.in b/Accounts/AccountsQt6Config.cmake.in --- a/Accounts/AccountsQt6Config.cmake.in 2024-03-31 19:32:44.000000000 +0200 +++ b/Accounts/AccountsQt6Config.cmake.in 2026-10-16 23:34:03.520770257 +0200 @@ -1,5 +1,6 @@ # ACCOUNTSQT_INCLUDE_DIRS - The libaccounts-qt include directories # ACCOUNTSQT_LIBRARIES - The libraries needed to use libaccounts-qt -set(ACCOUNTSQT_LIBRARIES $${INSTALL_LIBDIR}/lib$${TARGET}.so) -set(ACCOUNTSQT_INCLUDE_DIRS $${INSTALL_PREFIX}/include/$${TARGET}/) \ No newline at end of file +get_filename_component(_accountsqt_libdir "${CMAKE_CURRENT_LIST_DIR}/../.." ABSOLUTE) +set(ACCOUNTSQT_LIBRARIES ${_accountsqt_libdir}/lib$${TARGET}.so) +set(ACCOUNTSQT_INCLUDE_DIRS ${_accountsqt_libdir}/../include/$${TARGET}/) \ No newline at end of file