summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMateusz Majewski <m.majewski2@samsung.com>2022-11-09 13:36:37 +0100
committerKarol Lewandowski <k.lewandowsk@samsung.com>2022-11-09 13:51:23 +0000
commit9d00fb22912e6122d6937359db9099fcb974f1f2 (patch)
tree71bb0511ec70f4b6646c099ee1cc1c9815252ae7
parent8e64a826a1f659215cc36ffc74a16ff28112c6b1 (diff)
downloadsessiond-sandbox/klewandowski/tizen_7.0.tar.gz
sessiond-sandbox/klewandowski/tizen_7.0.tar.bz2
sessiond-sandbox/klewandowski/tizen_7.0.zip
Change-Id: I99c79253b6cde0ed62effe7680d3fec49740b6bb (cherry picked from commit 0d432d8236a19f8b2e4efef47837b27deff886d7)
-rw-r--r--src/library/CMakeLists.txt5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/library/CMakeLists.txt b/src/library/CMakeLists.txt
index 12db1ef..774de3b 100644
--- a/src/library/CMakeLists.txt
+++ b/src/library/CMakeLists.txt
@@ -10,7 +10,10 @@ target_link_libraries(libsessiond PRIVATE PkgConfig::DEPS sessiond_common)
target_include_directories(libsessiond PUBLIC include)
set_target_properties(
libsessiond PROPERTIES
- SOVERSION "${VERSION}"
+ VERSION "${VERSION}"
+ # TODO: Find a way to fetch the relewant part of "${VERSION}".
+ # Setting the CMake project version should help but I were not able to do this quickly.
+ SOVERSION 0
PUBLIC_HEADER "include/sessiond.h"
C_VISIBILITY_PRESET hidden
)