[CMake] Problem with Xcode... solved?

Carminati Federico Federico.Carminati at cern.ch
Wed Jul 16 05:52:03 EDT 2008


OK,
   I solved this by defining the command as

DYLD_LIBRARY_PATH=.... rootcint


but this is platform specific and not very nice....

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:57, Bill Hoffman wrote:

> Carminati Federico wrote:
>> 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,
>
> Build the program so that it uses built in run-time paths.  The only  
> other option is to run the program from some cmake script using  
> execute_process and setting up the environment from the cmake script.
>
> -Bill



More information about the CMake mailing list