On 25 Oct 2011, at 09:39, Adrian Musceac wrote:

> Hi James, and thanks for updating the readme. I may be blind or just stupid, 
> but I can't find a way of setting CMAKE_PREFIX_PATH in KDevelop that works. 
> Adding it to environment variables does not do anything, and cmake fails to 
> find the libraries. Do you, or anybody else, know how to get KDevelop to use 
> custom paths the way cmake does with
> -D CMAKE_PREFIX_PATH ?
> I'm using KDevelop 4.01 on Debian Squeeze.

It's a cmake variable, not an environment one, so I guess all I can really say 
is 'set it the same way you pass any other variable to cmake in Kdevelop' - but 
that's not much help, I appreciate!

Note from the command line, you must not include a space between the -D and the 
cmake variable name, i.e I need to do:

cmake ../source/dir -DCMAKE_PREFIX_PATH="/path/one;/path/two"

(the quotes are necessary if specifying multiple paths for me, otherwise bash 
treats the semi-colon as a command separator - depending on how Kdevelop 
invokes cmake, that may or may not be necessary for you)

James

------------------------------------------------------------------------------
The demand for IT networking professionals continues to grow, and the
demand for specialized networking skills is growing even more rapidly.
Take a complimentary Learning@Cisco Self-Assessment and learn 
about Cisco certifications, training, and career opportunities. 
http://p.sf.net/sfu/cisco-dev2dev
_______________________________________________
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel

Reply via email to