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

176 views
Skip to first unread message

Matthew Woehlke

unread,
May 8, 2013, 3:30:18 PM5/8/13
to googletes...@googlegroups.com
On 2013-05-08 07:21, Witold Eryk Wolski wrote:
> 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?

This would be better asked on the CMake users list.

That said:

set(GTEST_ROOT "${GTEST_ROOT}" CACHE FILEPATH "Root directory of gtest
installation")

...should do it.

--
Matthew

Matthew Woehlke

unread,
May 8, 2013, 3:31:03 PM5/8/13
to googletes...@googlegroups.com
Er... s/FILEPATH/PATH/ :-)

--
Matthew
Reply all
Reply to author
Forward
0 new messages