diff options
author | Robert Tari <robert@tari.in> | 2021-02-11 15:22:22 +0100 |
---|---|---|
committer | Robert Tari <robert@tari.in> | 2021-05-12 12:49:57 +0200 |
commit | 1fa174f54c9604499f059489e544cfc59c825f27 (patch) | |
tree | 073f2037a4bf11b78601722368bacc3889641f3f /data | |
parent | 729e95bc9d9337fe87eae3ea98a051be52570153 (diff) | |
download | libayatana-indicator-1fa174f54c9604499f059489e544cfc59c825f27.tar.gz libayatana-indicator-1fa174f54c9604499f059489e544cfc59c825f27.tar.bz2 libayatana-indicator-1fa174f54c9604499f059489e544cfc59c825f27.zip |
Add CMakeLists.txt files + tests/test-loader.c: fix library paths + Fix include paths
tests/test-loader.c: fix library paths
Diffstat (limited to 'data')
-rw-r--r-- | data/CMakeLists.txt | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/data/CMakeLists.txt b/data/CMakeLists.txt new file mode 100644 index 0000000..f6c71d9 --- /dev/null +++ b/data/CMakeLists.txt @@ -0,0 +1,12 @@ +# ayatana-indicator3-0.4.pc + +configure_file("${CMAKE_CURRENT_SOURCE_DIR}/ayatana-indicator3-0.4.pc.in" "${CMAKE_CURRENT_BINARY_DIR}/ayatana-indicator3-0.4.pc" @ONLY) +install(FILES "${CMAKE_CURRENT_BINARY_DIR}/ayatana-indicator3-0.4.pc" DESTINATION "${CMAKE_INSTALL_PREFIX}/${CMAKE_INSTALL_LIBDIR}/pkgconfig/") + +# ayatana-indicators.target + +pkg_check_modules(SYSTEMD systemd) + +if (${SYSTEMD_FOUND}) + install(FILES "${CMAKE_CURRENT_SOURCE_DIR}/ayatana-indicators.target" DESTINATION "${CMAKE_INSTALL_PREFIX}/${CMAKE_INSTALL_LIBDIR}/systemd/user") +endif() |