Skip to content

Commit 1476f22

Browse files
authored
build: Specify the build version and ABI version (#45)
1 parent f0cc92d commit 1476f22

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
- **Breaking**: Aligned types with the latest specification updates:
55
- `integer` changed to unsigned (`uint32_t`)
66
- `float` changed to `double`
7+
- Specify the build version and ABI version
78

89
## [0.5.0](https://github.com/rdkcentral/firebolt-cpp-client/compare/v0.4.0...v0.5.0)
910

src/CMakeLists.txt

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,9 @@ target_include_directories(${TARGET}
7070
set_target_properties(${TARGET} PROPERTIES
7171
CXX_STANDARD 17
7272
CXX_STANDARD_REQUIRED YES
73-
CMAKE_POSITION_INDEPENDENT_CODE ON
73+
VERSION ${PROJECT_VERSION}
74+
SOVERSION ${PROJECT_VERSION_MAJOR}
75+
POSITION_INDEPENDENT_CODE ON
7476
)
7577

7678
write_basic_package_version_file(

0 commit comments

Comments
 (0)