How do I link a library in cmake?
Hi,
(excuse my english)
I am a new with ROS, I am trying to build a node for a driver, the problem is that I need to use an externe library that does the communication staff, how can tell the compiler to use this library in CMakeLists ? normally if I want to use this library I will do:
g++ -g -Wall main_foo.cpp other.cpp lib/dmclnx.a -Idmclnxlib -o run_foo
I have already read the tutorial for CMakeLists and Manifest . Thanks for help.