Sisyphus repository
Last update: 1 october 2023 | SRPMs: 18631 | Visits: 37754607
en ru br
ALT Linux repos
S:1.13.0-alt2

Group :: Development/C++
RPM: googletest

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

Patch: googletest-soname-alt.patch
Download


--- googletest-release-1.8.1/googlemock/CMakeLists.txt.orig	2018-08-31 18:21:57.000000000 +0300
+++ googletest-release-1.8.1/googlemock/CMakeLists.txt	2019-01-26 14:42:11.109147093 +0300
@@ -108,8 +108,10 @@ if (MSVC)
               src/gmock_main.cc)
 else()
   cxx_library(gmock "${cxx_strict}" src/gmock-all.cc)
+  set_target_properties(gmock PROPERTIES VERSION 1.8.1 SOVERSION 0)
   target_link_libraries(gmock PUBLIC gtest)
   cxx_library(gmock_main "${cxx_strict}" src/gmock_main.cc)
+  set_target_properties(gmock_main PROPERTIES VERSION 1.8.1 SOVERSION 0)
   target_link_libraries(gmock_main PUBLIC gmock)
 endif()
 # If the CMake version supports it, attach header directory information
--- googletest-release-1.8.1/googletest/CMakeLists.txt.orig	2018-08-31 18:21:57.000000000 +0300
+++ googletest-release-1.8.1/googletest/CMakeLists.txt	2019-01-26 14:43:30.475699872 +0300
@@ -131,7 +131,9 @@ endif()
 # are used for other targets, to ensure that gtest can be compiled by a user
 # aggressive about warnings.
 cxx_library(gtest "${cxx_strict}" src/gtest-all.cc)
+set_target_properties(gtest PROPERTIES VERSION 1.8.1 SOVERSION 0)
 cxx_library(gtest_main "${cxx_strict}" src/gtest_main.cc)
+set_target_properties(gtest_main PROPERTIES VERSION 1.8.1 SOVERSION 0)
 # If the CMake version supports it, attach header directory information
 # to the targets for when we are part of a parent build (ie being pulled
 # in via add_subdirectory() rather than being a standalone build).
 
design & coding: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
current maintainer: Michael Shigorin