mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-07-22 02:35:23 +03:00
15 lines
524 B
Diff
15 lines
524 B
Diff
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})
|