cmake: bump .so version

Account for ABI incompatibility.
This commit is contained in:
Sergiu Deitsch 2021-07-23 14:39:25 +02:00
parent 370cb741bb
commit 98e0e8c65d

View File

@ -653,7 +653,7 @@ if (ANDROID)
endif()
set_target_properties (glog PROPERTIES VERSION ${PROJECT_VERSION})
set_target_properties (glog PROPERTIES SOVERSION ${PROJECT_VERSION_MAJOR})
set_target_properties (glog PROPERTIES SOVERSION 1)
if (CYGWIN OR WIN32)
target_compile_definitions (glog PUBLIC GLOG_NO_ABBREVIATED_SEVERITIES)