Hi,
When calling ccmake I can configure a variable Mylib_DIR (library location)/
However, I would like to run the configuration and build process in bash
script (its an out of source build). Therefore I am trying to configure
everything on the command line using the -D switch:
cmake -G Eclipse
blow away cmakecache.txt and try again.
That is probably cached if it's an option you can set in ccmake or cmake-gui
On Mon, Sep 10, 2012 at 3:08 AM, Witold E Wolski wewol...@gmail.com wrote:
Hi,
When calling ccmake I can configure a variable Mylib_DIR (library location)/
However, I would
I think on contrary, the value passed from command line wasn't saved into
cache. You should do it manually in your CMakeLists.txt, like
set(Mylib_DIR ${Mylib_DIR} CACHE PATH Path to something)
But variables with _DIR suffix are usually set by find_package command, I'm
not sure about expected