Re: [CMake] can't configure GTEST_ROOT with ccmake or cmake-gui

2013-05-08 Thread Nils Gladitz
Assuming you mean GTEST rather than CTEST (you seem to use them interchangeably) I think something like this in your CMakeLists.txt should make the option show up in cmake-gui/ccmake: set(GTEST_ROOT "" CACHE PATH "Google Test root directory") Nils On 05/08/2013 01:21 PM, Witold Eryk Wolski

[CMake] can't configure GTEST_ROOT with ccmake or cmake-gui

2013-05-08 Thread Witold Eryk Wolski
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 -DCT