CMake: add SOVERSION

This commit is contained in:
Mihai Fufezan 2024-01-05 23:27:26 +02:00
parent 4c28464a7d
commit 8118461c52
No known key found for this signature in database

View file

@ -24,7 +24,10 @@ target_include_directories( hyprlang
PUBLIC "./include" PUBLIC "./include"
PRIVATE "./src" PRIVATE "./src"
) )
set_target_properties(hyprlang PROPERTIES PUBLIC_HEADER include/hyprlang.hpp) set_target_properties(hyprlang PROPERTIES
VERSION ${HYPRLANG_VERSION}
SOVERSION 0
PUBLIC_HEADER include/hyprlang.hpp)
install(TARGETS hyprlang) install(TARGETS hyprlang)