Skip to content

Commit 4f1e152

Browse files
author
Stefan Wahren
committed
Define SOVERSION (#174)
1 parent a863e5e commit 4f1e152

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

CMakeLists.txt

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,9 @@ if(NOT MSVC)
118118
target_compile_options(${PROJECT_NAME} PRIVATE -Wall -Wextra -Wno-pedantic)
119119
endif()
120120

121-
set_target_properties(${PROJECT_NAME} PROPERTIES PREFIX "")
121+
set_target_properties(${PROJECT_NAME}
122+
PROPERTIES PREFIX ""
123+
SOVERSION ${VERSION})
122124

123125
if(CLANG_TIDY_EXE)
124126
set_target_properties(${PROJECT_NAME} PROPERTIES CXX_CLANG_TIDY "${CLANG_TIDY_EXE}")

0 commit comments

Comments
 (0)