From 636d6731c31ea3b542d6786e064ac9ed5332a770 Mon Sep 17 00:00:00 2001 From: david-cortes Date: Tue, 30 Apr 2024 20:33:32 +0200 Subject: [PATCH] add .so version number --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 5af0835..49354c4 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -393,7 +393,7 @@ target_link_libraries(cmfrec PUBLIC ${union_list}) # Public header with the data types substituted according to what was built configure_file(${PROJECT_SOURCE_DIR}/include/cmfrec.h.in cmfrec.h @ONLY) -set_target_properties(cmfrec PROPERTIES PUBLIC_HEADER cmfrec.h) +set_target_properties(cmfrec PROPERTIES PUBLIC_HEADER cmfrec.h SOVERSION 3 VERSION ${PROJECT_VERSION}) # Install target include(GNUInstallDirs)