From 4f1e152e830d7e50355b5f910ff84f784a461946 Mon Sep 17 00:00:00 2001 From: Stefan Wahren Date: Wed, 15 Jul 2020 21:25:35 +0200 Subject: [PATCH] Define SOVERSION (#174) --- CMakeLists.txt | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index c47a94c3..086b26e6 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -118,7 +118,9 @@ if(NOT MSVC) target_compile_options(${PROJECT_NAME} PRIVATE -Wall -Wextra -Wno-pedantic) endif() -set_target_properties(${PROJECT_NAME} PROPERTIES PREFIX "") +set_target_properties(${PROJECT_NAME} + PROPERTIES PREFIX "" + SOVERSION ${VERSION}) if(CLANG_TIDY_EXE) set_target_properties(${PROJECT_NAME} PROPERTIES CXX_CLANG_TIDY "${CLANG_TIDY_EXE}")