Hi Ruiy,
typically, you'd install things to a default *prefix* directory, in
your case /usr/local/.
Then you'd tell CMake that this is your prefix (-DCMAKE_INSTALL_PREFIX,
for example), and then use the name instead of the full path.
Best regards,
Marcus
On Sun, 2018-03-04 at 22:42 +0800, ruiy
Now I create a OOT module named slave_demo, and I have installed it. And I can
find the dynamic lib in /usr/local/lib/libgnuradio-slave-demo.so.
So I link it in my CMakeLists.txt by writing like this:
target_link_libraries(target ... /usr/local/lib/libgnuradio-slave-demo.so ...).
I suppose th