Skip to content

Commit

Permalink
Fix SOVERSION
Browse files Browse the repository at this point in the history
  • Loading branch information
PJK committed Feb 6, 2017
1 parent 64bfc8a commit 076b491
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
Next
-------
- Correctly set .so version [#52]. Warning: All previous releases will be identified as 0.0 by the linker.

0.5.0 (2017-02-06)
---------------------
Expand Down
2 changes: 1 addition & 1 deletion src/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ endif()
add_library(cbor ${SOURCES})
add_library(cbor_shared SHARED ${SOURCES})

set_target_properties(cbor_shared PROPERTIES OUTPUT_NAME cbor VERSION "0.0.0" SOVERSION 0)
set_target_properties(cbor_shared PROPERTIES OUTPUT_NAME cbor VERSION ${CBOR_VERSION})

configure_file(libcbor.pc.in libcbor.pc @ONLY)

Expand Down

0 comments on commit 076b491

Please sign in to comment.