Blame SOURCES/gtest-1.8.0-libversion.patch

09583b
diff --git a/googlemock/CMakeLists.txt b/googlemock/CMakeLists.txt
09583b
index 4304995..5ca735b 100644
09583b
--- a/googlemock/CMakeLists.txt
09583b
+++ b/googlemock/CMakeLists.txt
09583b
@@ -99,6 +99,9 @@ else()
09583b
   target_link_libraries(gmock_main gmock)
09583b
 endif()
09583b
 
09583b
+set_target_properties(gmock PROPERTIES VERSION 1.8.0)
09583b
+set_target_properties(gmock_main PROPERTIES VERSION 1.8.0)
09583b
+
09583b
 # If the CMake version supports it, attach header directory information
09583b
 # to the targets for when we are part of a parent build (ie being pulled
09583b
 # in via add_subdirectory() rather than being a standalone build).
09583b
diff --git a/googletest/CMakeLists.txt b/googletest/CMakeLists.txt
09583b
index ab82f23..97f7554 100644
09583b
--- a/googletest/CMakeLists.txt
09583b
+++ b/googletest/CMakeLists.txt
09583b
@@ -88,7 +88,9 @@ endif()
09583b
 # are used for other targets, to ensure that gtest can be compiled by a user
09583b
 # aggressive about warnings.
09583b
 cxx_library(gtest "${cxx_strict}" src/gtest-all.cc)
09583b
+set_target_properties(gtest PROPERTIES VERSION 1.8.0)
09583b
 cxx_library(gtest_main "${cxx_strict}" src/gtest_main.cc)
09583b
+set_target_properties(gtest_main PROPERTIES VERSION 1.8.0)
09583b
 target_link_libraries(gtest_main gtest)
09583b
 
09583b
 # If the CMake version supports it, attach header directory information