diff options
author | Dong XiaoC <godxcgo@foxmail.com> | 2016-12-23 11:31:11 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2017-01-10 18:26:33 (GMT) |
commit | 8deb913d983eee5ad1439ccb98244817d8912602 (patch) | |
tree | f36073b0888102516b28f900e5a674fbb93e9614 /Modules/FindGTest.cmake | |
parent | eadd395a1396ed78a3ecea7740f8f4735ab84453 (diff) | |
download | CMake-8deb913d983eee5ad1439ccb98244817d8912602.zip CMake-8deb913d983eee5ad1439ccb98244817d8912602.tar.gz CMake-8deb913d983eee5ad1439ccb98244817d8912602.tar.bz2 |
FindGTest: add lib search path for MSVC x64 platform
Diffstat (limited to 'Modules/FindGTest.cmake')
-rw-r--r-- | Modules/FindGTest.cmake | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/Modules/FindGTest.cmake b/Modules/FindGTest.cmake index 931cc18..6540171 100644 --- a/Modules/FindGTest.cmake +++ b/Modules/FindGTest.cmake @@ -160,11 +160,17 @@ if(MSVC) if(GTEST_MSVC_SEARCH STREQUAL "MD") list(APPEND _gtest_libpath_suffixes msvc/gtest-md/Debug - msvc/gtest-md/Release) + msvc/gtest-md/Release + msvc/x64/Debug + msvc/x64/Release + ) elseif(GTEST_MSVC_SEARCH STREQUAL "MT") list(APPEND _gtest_libpath_suffixes msvc/gtest/Debug - msvc/gtest/Release) + msvc/gtest/Release + msvc/x64/Debug + msvc/x64/Release + ) endif() endif() |