FindGTest: Add support for googletest 1.8.1 folder structure

This commit is contained in:
Kelby Faessler
2019-08-29 15:27:40 -04:00
committed by Brad King
parent 3ec986ce8e
commit aaf2435780
2 changed files with 13 additions and 0 deletions

View File

@@ -0,0 +1,5 @@
gtest-1.8.1
-----------
* The :module:`FindGTest` module has been updated to recognize
MSVC build trees generated by GTest 1.8.1.

View File

@@ -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()