aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorRobert Tari <robert@tari.in>2022-01-27 10:28:56 +0100
committerRobert Tari <robert@tari.in>2022-01-27 10:28:56 +0100
commitedbee76c957ccc3d0d854073cc8d3a45a401fceb (patch)
tree9c0727d1d8868d09875575d42a3a816df466c4ac /src
parent8b83c01761217a2cc01d62c0827ed6373b13ae46 (diff)
parent3c432ed173f40a2bc8383f432185616714c4ea96 (diff)
downloadayatana-indicator-application-edbee76c957ccc3d0d854073cc8d3a45a401fceb.tar.gz
ayatana-indicator-application-edbee76c957ccc3d0d854073cc8d3a45a401fceb.tar.bz2
ayatana-indicator-application-edbee76c957ccc3d0d854073cc8d3a45a401fceb.zip
Merge branch 'sunweaver-pr/use-pkg-config-indicatordir-for-library-path'
Attributes GH PR #20: https://github.com/AyatanaIndicators/ayatana-indicator-application/pull/20
Diffstat (limited to 'src')
-rw-r--r--src/CMakeLists.txt3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
index 66b86ad..3220d0a 100644
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -88,7 +88,8 @@ target_include_directories("ayatana-application" PUBLIC ${PROJECT_DEPS_INCLUDE_D
target_include_directories("ayatana-application" PUBLIC ${CMAKE_CURRENT_BINARY_DIR})
target_link_libraries("ayatana-application" ${PROJECT_DEPS_LIBRARIES})
add_dependencies("ayatana-application" "src-generated")
-install(FILES "${CMAKE_CURRENT_BINARY_DIR}/libayatana-application.so" DESTINATION "${CMAKE_INSTALL_FULL_LIBDIR}/ayatana-indicators3/7")
+pkg_get_variable(indicatordir "ayatana-indicator3-0.4" "indicatordir")
+install(FILES "${CMAKE_CURRENT_BINARY_DIR}/libayatana-application.so" DESTINATION "${indicatordir}")
# ayatana-indicator-application-service