From c23e292fb2485e4f367d1c29c93b17cb8024eebc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20Szczepaniak?= Date: Sun, 19 Jan 2025 16:49:44 +0100 Subject: [PATCH] Fix install paths --- CMakeLists.txt | 2 +- src/CMakeLists.txt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 57d9d74..4f27280 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -18,4 +18,4 @@ pkg_search_module(GLIB REQUIRED glib-2.0) add_subdirectory(src) install(FILES devicelock.conf - DESTINATION /usr/share/lipstick/devicelock/) + DESTINATION ${SHARE_INSTALL_PREFIX}/lipstick/devicelock/) diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index ca4ec65..d9d6ae3 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -13,4 +13,4 @@ target_link_libraries(glacier-devicelock target_include_directories(glacier-devicelock PRIVATE ${GLIB_INCLUDE_DIRS}) install(TARGETS glacier-devicelock RUNTIME - DESTINATION /usr/lib/qt6/plugins/devicelock/) + DESTINATION ${LIB_INSTALL_DIR}/qt6/plugins/devicelock/)