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