[CMake] FindGTest patch

Stephan Menzel stephan.menzel at gmail.com
Sat Jan 16 10:16:42 EST 2010


Hi,

please correct me if I'm wrong but in my impression the existing
FindGTest module is rather ignorant about finding 64 bit builds on
windows. It also doesn't handle Debug/Release linking very well. Also
it appears not to be quite consistent with it's API description.
Please find a patch attached that solves at least some of those
problems for your consideration.

In my tests it worked as described on Linux and Windows 32 and 64 bit,
the latter after having GTEST_ROOT set.

Cheers,
Stephan
-------------- next part --------------
A non-text attachment was scrubbed...
Name: FindGTest.cmake
Type: application/octet-stream
Size: 5891 bytes
Desc: not available
URL: <http://www.cmake.org/pipermail/cmake/attachments/20100116/814930b6/attachment.obj>


More information about the CMake mailing list