diff --git a/rmw_fastrtps_cpp/CMakeLists.txt b/rmw_fastrtps_cpp/CMakeLists.txt index 3dd2d9993..3e77f0e4d 100644 --- a/rmw_fastrtps_cpp/CMakeLists.txt +++ b/rmw_fastrtps_cpp/CMakeLists.txt @@ -20,7 +20,7 @@ if(NOT WIN32) set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++14 -Wall -Wextra -Wpedantic") endif() -find_package(ament_cmake REQUIRED) +find_package(ament_cmake_ros REQUIRED) find_package(c_utilities REQUIRED) @@ -42,7 +42,7 @@ ament_export_dependencies(rosidl_typesupport_introspection_cpp) include_directories(include) -add_library(rmw_fastrtps_cpp SHARED +add_library(rmw_fastrtps_cpp src/functions.cpp ) target_link_libraries(rmw_fastrtps_cpp diff --git a/rmw_fastrtps_cpp/package.xml b/rmw_fastrtps_cpp/package.xml index d0e8cedac..0551f136e 100644 --- a/rmw_fastrtps_cpp/package.xml +++ b/rmw_fastrtps_cpp/package.xml @@ -7,7 +7,7 @@ Ricardo González Apache License 2.0 - ament_cmake + ament_cmake_ros fastrtps_cmake_module ament_cmake