FindGTest.cmake uses the wrong library name on Windows for Debug builds
In FindGTest.cmake, (version 3.8.2) I am using googletest-1.8.0 and found a bug in FindGTest.cmake that has been there since at least cmake-2.8.12. It currently looks for gtest debug main library called "gtest-maind", however the googletest project is installing a library named "gtestd-main". This is a simple two line fix so I am not going to post a patch. I assume at one point in time it was named the former, but it is now named the latter. Hopefully someone else can easily patch this and submit it by looking for both, preferring the latter, for example:
_gtest_find_library(GTEST_MAIN_LIBRARY_DEBUG gtest_main-mdd gtestd_main gtest_maind)
Without this being fixed, if you build a debug windows build with a gtest based test, it has the wrong runtime alignment in that gtest_main is being linked together with gtestd, and the linker fails (both VS2015 and VS2017) as a result.
Do I need to submit a pull request myself in order to get this addressed?