From 8118461c52641d6c099742b5c32ff26678efe930 Mon Sep 17 00:00:00 2001 From: Mihai Fufezan Date: Fri, 5 Jan 2024 23:27:26 +0200 Subject: [PATCH] CMake: add SOVERSION --- CMakeLists.txt | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index c6582ca..5eed3bc 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -24,7 +24,10 @@ target_include_directories( hyprlang PUBLIC "./include" 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)