diff --git a/CMakeLists.txt b/CMakeLists.txt index 03943da..f889d1e 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -172,6 +172,11 @@ if(HTTPLIB_COMPILE) $ $ ) + set_target_properties(${PROJECT_NAME} + PROPERTIES + VERSION ${${PROJECT_NAME}_VERSION} + SOVERSION ${${PROJECT_NAME}_VERSION_MAJOR} + ) else() # This is for header-only. set(_INTERFACE_OR_PUBLIC INTERFACE)