Re: [CMake] Problem on the Mac with setting CMAKE_CXX_LINK_EXECUTABLE

2008-07-16 Thread Carminati Federico
Hello Sean, thanks for your answer. Till 10.4 you could not specify the - undefined dynamic_lookup, you had to set the MACOSX_DEPLOYMENT_TARGET variable to something larger than 10.3. This is the line I had in my makefile, but I see no way to make this work with cmake. Even if I simply se

Re: [CMake] Problem on the Mac with setting CMAKE_CXX_LINK_EXECUTABLE

2008-07-14 Thread Sean McBride
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 se

[CMake] Problem on the Mac with setting CMAKE_CXX_LINK_EXECUTABLE

2008-07-14 Thread Carminati Federico
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 Err