[CMake] Bug in TARGET_LINK_LIBRARIES

Alexander Neundorf a.neundorf-work at gmx.net
Fri Feb 10 09:52:29 EST 2006


> Von: Filipe Sousa <filipe at ipb.pt> 
> 
> Hi 
>  
> PROJECT(math) 
> ADD_EXECUTABLE(math math.c) 
> TARGET_LINK_LIBRARIES(math m z) 
>  
> Linking C executable math 
> /usr/local/bin/cmake -E remove -f math 
> /usr/bin/gcc     -fPIC "CMakeFiles/math.dir/math.o"   -o math -rdynamic 
>  
> TARGET_LINK_LIBRARIES is ignoring library m and z, in fact 
> TARGET_LINK_LIBRARIES is ignoring all libraries with one char. 
 
I can acknowledge this. I saw the same effect, but thought that I did 
somethine wrong and didn't investigate further. 
cvs from some days ago. 
 
Alex 
 

-- 
DSL-Aktion wegen großer Nachfrage bis 28.2.2006 verlängert:
GMX DSL-Flatrate 1 Jahr kostenlos* http://www.gmx.net/de/go/dsl


More information about the CMake mailing list