1 2 3 4
rmqcpp provides CMake targets: find_package(rmqcpp REQUIRED) target_link_libraries(main PRIVATE rmqcpp::rmq)