Use audio_common_msgs in cmakelists

asked 2021-03-30 07:16:06 -0600

xavier12358 gravatar image

Hello, I want to use audio_common_msgs library in my cmakelists.

Here is my cmakelist file:

set(ROS_LIBS "rosbag" "roscpp" "rosbag_storage" "rostime" "roslib" "rospack" "roscpp_serialization" "rosconsole" "roslz4" "rosconsole_bridge" "rosconsole_backend_interface" "rosconsole_log4cxx" "cpp_common" "image_transport" "cv_bridge" "grid_map_core" "grid_map_ros" "xmlrpcpp" "console_bridge" )

list(APPEND CMAKE_MODULE_PATH "${ROS_PATH}/share/") include_directories(SYSTEM "${ROS_PATH}/include") link_directories("${ROS_PATH}/lib/" )

On the source code example is made with:

find_package(catkin REQUIRED COMPONENTS roscpp audio_common_msgs)

But I don't want to use catkin. Is there a way to use include audio_common_msgs in other way?

edit retag flag offensive close merge delete