[CMake] statically linking libstdc++ problem.

Alexander Neundorf a.neundorf-work at gmx.net
Thu Jun 2 04:00:23 EDT 2005


> Von: Brad King <brad.king at kitware.com> 
... 
> 2.) Create a directory that contains a symlink to the static version of  
> the library and then use the LINK_DIRECTORIES command to add it to the  
> link path.  Then the linker will find the static version and use it. 
 
Shouldn't specifying the full path to the static library also work ? 
TARGET_LINK_LIBRARIES(foo /usr/lib/.../libstdc++.a) ? 
 
Alex 
 

-- 
Weitersagen: GMX DSL-Flatrates mit Tempo-Garantie!
Ab 4,99 Euro/Monat: http://www.gmx.net/de/go/dsl


More information about the CMake mailing list