[CMake] Problem with Xcode... solved?

Carminati Federico Federico.Carminati at cern.ch
Tue Jul 15 11:45:59 EDT 2008


Dear Bill,
   this works, however this program loads shared libs supposed to be  
in a directory pointed to by DYLD_LIBRARY_PATH, so it fails to load.  
Any idea? Best regards,

Federico Carminati
CERN-PH
1211 Geneva 23
Switzerland
Tel: +41 22 76 74959
Fax: +41 22 76 79480
Mobile: +41 76 487 4843

On 15 Jul 2008, at 17:29, Bill Hoffman wrote:

> 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