I have a test case for using cmake to link to a non 'lib' prefix library:

http://gdcm.svn.sourceforge.net/viewvc/gdcm/Sandbox/CMakeBug/2/

Replicated with cmake 2.4.5 and CMake CVS

-----
ADD_LIBRARY(foo SHARED foo.c)
SET_TARGET_PROPERTIES(foo PROPERTIES PREFIX "")

ADD_EXECUTABLE(testfoo testfoo.c)
TARGET_LINK_LIBRARIES(testfoo foo)
-----

How to retrieve:

svn co https://gdcm.svn.sourceforge.net/svnroot/gdcm/Sandbox/CMakeBug/2

should it be entered in the bug tracker ?
--
Mathieu
_______________________________________________
CMake mailing list
[email protected]
http://www.cmake.org/mailman/listinfo/cmake

Reply via email to