[CMake] Problem on the Mac with setting CMAKE_CXX_LINK_EXECUTABLE

Carminati Federico Federico.Carminati at cern.ch
Mon Jul 14 10:44:57 EDT 2008


Dear All,
    I would like to use the followig setting on the Mac

   Set(CMAKE_CXX_LINK_EXECUTABLE
     "export MACOSX_DEPLOYMENT_TARGET=${MACOSX_MAJOR}.${MACOSX_MINOR};  
unset LD_PREBIND ; ${CMAKE_CXX_LINK_EXECUTABLE}")

But unfortunately it does not seem to work. The link command fails with

Error running link command: No such file or directory

Can anyone help? Best,


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



More information about the CMake mailing list