diff options
author | Marco Casaroli <[email protected]> | 2022-07-31 13:32:21 -0400 |
---|---|---|
committer | Dimitri Staessens <[email protected]> | 2022-08-06 09:48:28 +0200 |
commit | b0102d9dc3cb8b543e4e079ce68f1e06970b1cbb (patch) | |
tree | a8095ea766b042fe7145cbfb4ecf60b1df657914 /src/lib | |
parent | 215f53cd8b1e2ea876a0bfc08d5de6cc684cb57b (diff) | |
download | ouroboros-b0102d9dc3cb8b543e4e079ce68f1e06970b1cbb.tar.gz ouroboros-b0102d9dc3cb8b543e4e079ce68f1e06970b1cbb.zip |
build: Add version and symlinks to shared objects0.19.3
Building with Yocto was giving some package QA warnings.
Signed-off-by: Dimitri Staessens <[email protected]>
Diffstat (limited to 'src/lib')
-rw-r--r-- | src/lib/CMakeLists.txt | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/lib/CMakeLists.txt b/src/lib/CMakeLists.txt index 196bb905..74fbb707 100644 --- a/src/lib/CMakeLists.txt +++ b/src/lib/CMakeLists.txt @@ -275,6 +275,16 @@ add_library(ouroboros-dev SHARED ${SOURCE_FILES_DEV} ${CACEP_PROTO_SRCS}) add_library(ouroboros-irm SHARED ${SOURCE_FILES_IRM}) +set_target_properties(ouroboros-common PROPERTIES + VERSION ${PACKAGE_VERSION} + SOVERSION ${PACKAGE_VERSION_MAJOR}.${PACKAGE_VERSION_MINOR}) +set_target_properties(ouroboros-dev PROPERTIES + VERSION ${PACKAGE_VERSION} + SOVERSION ${PACKAGE_VERSION_MAJOR}.${PACKAGE_VERSION_MINOR}) +set_target_properties(ouroboros-irm PROPERTIES + VERSION ${PACKAGE_VERSION} + SOVERSION ${PACKAGE_VERSION_MAJOR}.${PACKAGE_VERSION_MINOR}) + include(AddCompileFlags) if (CMAKE_BUILD_TYPE MATCHES "Debug*") add_compile_flags(ouroboros-common -DCONFIG_OUROBOROS_DEBUG) |