如果你的程序依赖glog,需要在CMakeLists.txt中写入:
set(GLOG_LIB glog)
target_link_libraries(${PROJECT_NAME} PUBLIC ${GLOG_LIB})
在package.xml中加入:
<depend>libgoogle-glog-dev</depend>
如果你的程序依赖glog,需要在CMakeLists.txt中写入:
set(GLOG_LIB glog)
target_link_libraries(${PROJECT_NAME} PUBLIC ${GLOG_LIB})
在package.xml中加入:
<depend>libgoogle-glog-dev</depend>