FindGTest module should try to find sources in addition to binaries
This issue was created automatically from an original Mantis Issue. Further discussion may take place here.
It would be nice, if FindGTest module could find directory with sources of Google Test Framework.
FAQ on GTest website clearly states, that GTest should not be compiled system wide, and that's what CMake currently assumes. Instead, GTest should be statically compiled to each executable to make sure that the compiler flags of GTest and tested executable are the same.
When found, there could be some GTEST_SOURCES_DIRECTORY which then could be added with ADD_SUBDIRECTORY and compiled along the project as per FAQ suggestion