[CMake] can't configure GTEST_ROOT with ccmake or cmake-gui
Witold Eryk Wolski
wewolski at gmail.com
Wed May 8 07:21:42 EDT 2013
Hi,
would like to start using gtest with a project. I use cmake to configure
the project.
So I was pleased to see that :
cmake 2.8 ships with an FindCTest.cmake file.
However FindCTest.cmake expects me either to set en env variable CTEST_ROOT
or pass it as an cmake ariable (I guess with -DCTEST_ROOT ?)
However, the convention I have so far is that all dependencies can be
configured using ccmake or cmake-gui.
Therefore, I would like to do the same with gtest. However, can't find a
way to set GTEST_ROOT with ccmake or cmake-gui.
Can I add anything, and exactly what, to my CMakeLists.txt file so that
CTEST_ROOT will show up in ccmake in order to be set properly?
regards
Witold
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.cmake.org/pipermail/cmake/attachments/20130508/1b3f306c/attachment-0001.htm>
More information about the CMake
mailing list