Hi Robert and Loic,

On Tuesday 26 May 2009 11:23:15 you wrote:
> One can set the flags by doing setting the CMAKE_CXX_FLAGS either
> using ccmake ., or via the command line invocation of cmake . i.e.
>
>   cmake . -DCMAKE_BUILD_TYPE=Release -DCMAKE_CXX_FLAGS="-lgcc_s -lgcc"
>
> Would this be workable?

Unfortunately CMake puts the value of CMAKE_CXX_FLAGS at the beggining of the 
command line, so the symbols are still left undefined. The same goes for 
CMAKE_SHARED_LINKER_FLAGS. I was looking for something like CMAKE_LIBS, but I 
haven't found anything yet. I really think that should be possible without 
modifying CMakeLists.txt.

Regards,

Alberto



--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to