Doh.. Sorry about that. Eric. Thanks for the pick up on that.
_________________________________________________________
Mike Jackson [email protected]
BlueQuartz Software www.bluequartz.net
Principal Software Engineer Dayton, Ohio
On Feb 15, 2009, at 1:29 PM, Eric Noulard wrote:
2009/2/15 Reinhard Thies <[email protected]>:
Thanks,
it helped, but now I get :
Linking C executable ds309
/usr/bin/ld: cannot find -llibconfuse
collect2: ld returned 1 exit status
and the lib is defenetly there. I assume it is not cmake related
but do you
still have an idea ?
I assume you are compiling on a Unix type host (may be linux)
then you should not add the "lib" prefix to you library.
thus you should not write:
TARGET_LINK_LIBRARIES(ds309 libconfuse)
but you should instead write:
TARGET_LINK_LIBRARIES(ds309 confuse)
this will end-up with a "-lconfuse"
which should work on most Unix platform.
--
Erk
_______________________________________________
Powered by www.kitware.com
Visit other Kitware open-source projects at
http://www.kitware.com/opensource/opensource.html
Please keep messages on-topic and check the CMake FAQ at:
http://www.cmake.org/Wiki/CMake_FAQ
Follow this link to subscribe/unsubscribe:
http://www.cmake.org/mailman/listinfo/cmake