update to SOVERSION to 2 (as it should have been done 3 years ago)

fix #186
This commit is contained in:
Patrick Boettcher 2022-11-26 18:05:52 +01:00
parent 96a4255938
commit 6b17782d6a

View File

@ -42,7 +42,7 @@ target_compile_features(nlohmann_json_schema_validator
set_target_properties(nlohmann_json_schema_validator
PROPERTIES
VERSION ${PROJECT_VERSION}
SOVERSION 1)
SOVERSION 2)
# disable tests and examples if project is not super project
if(CMAKE_SOURCE_DIR STREQUAL PROJECT_SOURCE_DIR)