diff options
author | Robert Tari <robert@tari.in> | 2021-02-03 11:33:43 +0100 |
---|---|---|
committer | Robert Tari <robert@tari.in> | 2021-02-03 11:33:43 +0100 |
commit | 00d165cf037294e464a816ae5d55277f2f016010 (patch) | |
tree | 08447785c13f521940d539f0a010cd20ef572494 /src | |
parent | 1756ee86a2eee39564d1e80ce5b12da0c327c188 (diff) | |
parent | f4699d4a4cb5555753cb14bd0d77d0fbe0c82052 (diff) | |
download | libayatana-common-00d165cf037294e464a816ae5d55277f2f016010.tar.gz libayatana-common-00d165cf037294e464a816ae5d55277f2f016010.tar.bz2 libayatana-common-00d165cf037294e464a816ae5d55277f2f016010.zip |
Merge branch 'sunweaver-pr/set-api-abi-version'
Attributes GH PR #3: https://github.com/AyatanaIndicators/libayatana-common/pull/3
Diffstat (limited to 'src')
-rw-r--r-- | src/CMakeLists.txt | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index 5dce006..4a6a5aa 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -16,6 +16,13 @@ set(PUBLIC_HEADERS utils.h ) +set_target_properties(ayatana-common + PROPERTIES + VERSION ${API_VERSION}.0.0 + SOVERSION ${ABI_VERSION} + PUBLIC_HEADER "${PUBLIC_HEADERS}" +) + configure_file(libayatana-common.pc.in ${CMAKE_CURRENT_BINARY_DIR}/libayatana-common.pc @ONLY) install(FILES ${CMAKE_CURRENT_BINARY_DIR}/libayatana-common.pc DESTINATION ${CMAKE_INSTALL_LIBDIR}/pkgconfig) |