[CMake] Problem on the Mac with setting CMAKE_CXX_LINK_EXECUTABLE

Sean McBride sean at rogue-research.com
Mon Jul 14 13:28:30 EDT 2008


On 7/14/08 4:44 PM, Carminati Federico said:

>    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

I'm not really sure what you're talking about, but if you're trying to
set the deployment target, I suggest you use the method described here:
<http://public.kitware.com/Bug/view.php?id=6195>

-- 
____________________________________________________________
Sean McBride, B. Eng                 sean at rogue-research.com
Rogue Research                        www.rogue-research.com 
Mac Software Developer              Montréal, Québec, Canada




More information about the CMake mailing list