Skip to content
Snippets Groups Projects
Commit 2e9c119d authored by Adrien Béraud's avatar Adrien Béraud
Browse files

build/cmake: add SOVERSION for c binding

parent 7bf2d2a7
Branches
Tags
No related merge requests found
...@@ -398,6 +398,7 @@ if (OPENDHT_C) ...@@ -398,6 +398,7 @@ if (OPENDHT_C)
) )
target_compile_definitions(opendht-c PRIVATE OPENDHT_C_BUILD) target_compile_definitions(opendht-c PRIVATE OPENDHT_C_BUILD)
target_link_libraries(opendht-c PRIVATE opendht) target_link_libraries(opendht-c PRIVATE opendht)
set_target_properties (opendht-c PROPERTIES SOVERSION ${opendht_VERSION_MAJOR} VERSION ${opendht_VERSION})
install (TARGETS opendht-c DESTINATION ${CMAKE_INSTALL_LIBDIR} EXPORT opendht-c) install (TARGETS opendht-c DESTINATION ${CMAKE_INSTALL_LIBDIR} EXPORT opendht-c)
endif () endif ()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment