diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index b87af66..b919df9 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -73,6 +73,10 @@ set( # create hpdf library # ======================================================================= add_library(hpdf ${LIBHPDF_SRCS}) +set_target_properties(hpdf PROPERTIES + VERSION ${CMAKE_PROJECT_VERSION} + SOVERSION ${CMAKE_PROJECT_VERSION} +) if (PNG_FOUND) include_directories (${PNG_INCLUDE_DIRS}) target_link_libraries (hpdf ${PNG_LIBRARIES})