cmake: versioned library install

This commit is contained in:
Yury Popov
2023-03-23 22:00:53 +03:00
committed by Alexander Epaneshnikov
parent 524412f52e
commit 631a8f3fa1
+5
View File
@@ -115,4 +115,9 @@ if (MINGW)
target_link_options(espeak-ng PRIVATE "-static-libstdc++" "-static")
endif()
set_target_properties(espeak-ng PROPERTIES
SOVERSION ${PROJECT_VERSION_MAJOR}
VERSION ${PROJECT_VERSION}
)
install(TARGETS espeak-ng LIBRARY)