diff options
author | Mike Gabriel <mike.gabriel@das-netzwerkteam.de> | 2022-01-26 22:46:45 +0100 |
---|---|---|
committer | Mike Gabriel <mike.gabriel@das-netzwerkteam.de> | 2022-01-26 22:46:45 +0100 |
commit | c8de14045e6165a865f5bd1a674af360975aecd3 (patch) | |
tree | d75ec021976af4c6374b9a26c47946f85226d18f | |
parent | 91143cbd7aaf6ba6dac7d22948a551bd02bd40c8 (diff) | |
download | ayatana-indicator-application-c8de14045e6165a865f5bd1a674af360975aecd3.tar.gz ayatana-indicator-application-c8de14045e6165a865f5bd1a674af360975aecd3.tar.bz2 ayatana-indicator-application-c8de14045e6165a865f5bd1a674af360975aecd3.zip |
src/CMakeLists.txt: Use pkg-config's indicatordir as library installation path.
-rw-r--r-- | src/CMakeLists.txt | 3 |
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 |