[CMake] Problem with Xcode... solved?

Bill Hoffman bill.hoffman at kitware.com
Tue Jul 15 11:29:52 EDT 2008


Carminati Federico wrote:

> As part of my make process I am running a custom program that usually is 
> in my path in a non-standard directory. When I try building the target 
> with Xcode, the PATH variable is not affected by my shell settings, and 
> it default to the standard on my machine. This does not include my 
> special directory. So either I find a way to set the path when executing 
> xcode, or I specify the full path to my program.
> 
I would recommend using find_program to find your command, and then use 
a full path.  You can not rely on a PATH setting.


> True, both problems are fixed. Thanks a lot.

Great, I am going to put them in the next RC for 2.6.1.

Thanks for testing CVS CMake!

-Bill


More information about the CMake mailing list