summaryrefslogtreecommitdiffstats
path: root/Modules/FindGTest.cmake
diff options
context:
space:
mode:
authorKelby Faessler <kmfaessler@gmail.com>2019-08-29 19:27:40 (GMT)
committerBrad King <brad.king@kitware.com>2019-08-30 15:24:27 (GMT)
commitaaf24357802f577830659a441fdf41da83642b43 (patch)
tree93eb3370f187c57e8b66149558f1245f17d22b57 /Modules/FindGTest.cmake
parent3ec986ce8e8df269eb6b6b9f37e12b02194168fd (diff)
downloadCMake-aaf24357802f577830659a441fdf41da83642b43.zip
CMake-aaf24357802f577830659a441fdf41da83642b43.tar.gz
CMake-aaf24357802f577830659a441fdf41da83642b43.tar.bz2
FindGTest: Add support for googletest 1.8.1 folder structure
Diffstat (limited to 'Modules/FindGTest.cmake')
-rw-r--r--Modules/FindGTest.cmake8
1 files changed, 8 insertions, 0 deletions
diff --git a/Modules/FindGTest.cmake b/Modules/FindGTest.cmake
index b0175fe..e015a98 100644
--- a/Modules/FindGTest.cmake
+++ b/Modules/FindGTest.cmake
@@ -160,6 +160,10 @@ if(MSVC)
msvc/gtest-md/Release
msvc/x64/Debug
msvc/x64/Release
+ msvc/2010/gtest-md/Win32-Debug
+ msvc/2010/gtest-md/Win32-Release
+ msvc/2010/gtest-md/x64-Debug
+ msvc/2010/gtest-md/x64-Release
)
elseif(GTEST_MSVC_SEARCH STREQUAL "MT")
list(APPEND _gtest_libpath_suffixes
@@ -167,6 +171,10 @@ if(MSVC)
msvc/gtest/Release
msvc/x64/Debug
msvc/x64/Release
+ msvc/2010/gtest/Win32-Debug
+ msvc/2010/gtest/Win32-Release
+ msvc/2010/gtest/x64-Debug
+ msvc/2010/gtest/x64-Release
)
endif()
endif()