summaryrefslogtreecommitdiffstats
path: root/Modules/FindGTest.cmake
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2017-06-07 16:38:25 (GMT)
committerBrad King <brad.king@kitware.com>2017-06-07 16:38:25 (GMT)
commitab2954c4716a96fcd00f7fcf1f8592093bbb7627 (patch)
treef7ec65967d4b54ca0591e8d3e19f3cc611321aab /Modules/FindGTest.cmake
parentdf18cd1dd57bf661ca81e5b5a5679697047811d7 (diff)
downloadCMake-ab2954c4716a96fcd00f7fcf1f8592093bbb7627.zip
CMake-ab2954c4716a96fcd00f7fcf1f8592093bbb7627.tar.gz
CMake-ab2954c4716a96fcd00f7fcf1f8592093bbb7627.tar.bz2
Revert "FindGTest: Add gtestd_main variant of debug library"
The reported variant turned out to be due to a local configuration problem. Issue: #16940
Diffstat (limited to 'Modules/FindGTest.cmake')
-rw-r--r--Modules/FindGTest.cmake4
1 files changed, 2 insertions, 2 deletions
diff --git a/Modules/FindGTest.cmake b/Modules/FindGTest.cmake
index 0dbf77f..c4b4535 100644
--- a/Modules/FindGTest.cmake
+++ b/Modules/FindGTest.cmake
@@ -134,12 +134,12 @@ if(MSVC AND GTEST_MSVC_SEARCH STREQUAL "MD")
_gtest_find_library(GTEST_LIBRARY gtest-md gtest)
_gtest_find_library(GTEST_LIBRARY_DEBUG gtest-mdd gtestd)
_gtest_find_library(GTEST_MAIN_LIBRARY gtest_main-md gtest_main)
- _gtest_find_library(GTEST_MAIN_LIBRARY_DEBUG gtest_main-mdd gtestd_main gtest_maind)
+ _gtest_find_library(GTEST_MAIN_LIBRARY_DEBUG gtest_main-mdd gtest_maind)
else()
_gtest_find_library(GTEST_LIBRARY gtest)
_gtest_find_library(GTEST_LIBRARY_DEBUG gtestd)
_gtest_find_library(GTEST_MAIN_LIBRARY gtest_main)
- _gtest_find_library(GTEST_MAIN_LIBRARY_DEBUG gtestd_main gtest_maind)
+ _gtest_find_library(GTEST_MAIN_LIBRARY_DEBUG gtest_maind)
endif()
include(${CMAKE_CURRENT_LIST_DIR}/FindPackageHandleStandardArgs.cmake)