Please forgive the brevity of my initial proposal--yes this is tested working, yes it's being used in the dummy project; to explain: cmake (cmake-data) simply installs this macro in the default location:
From cmake changelog this appears to have been the case for a while, indeed the copied macro is necessary in any project in which it's included, including this one--I can't explain how it came into vogue as I wasn't responsible for spreading it (except to this dummy project).
Please forgive the brevity of my initial proposal--yes this is tested working, yes it's being used in the dummy project; to explain: cmake (cmake-data) simply installs this macro in the default location:
$ dpkg -L cmake-data | grep -i gtest cmake-2. 8/Modules/ FindGTest. cmake
/usr/share/
From cmake changelog this appears to have been the case for a while, indeed the copied macro is necessary in any project in which it's included, including this one--I can't explain how it came into vogue as I wasn't responsible for spreading it (except to this dummy project).