From 98e0e8c65d161ac8e67bf6399bf5b6c070ab31a8 Mon Sep 17 00:00:00 2001 From: Sergiu Deitsch Date: Fri, 23 Jul 2021 14:39:25 +0200 Subject: [PATCH] cmake: bump .so version Account for ABI incompatibility. --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 387a685..b8ad1cf 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -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)