Skip to content

Commit

Permalink
Revert "Export rmw_fastrtps_cpp target" (#200)
Browse files Browse the repository at this point in the history
* Revert "Support access control  (#197)"

This reverts commit a9c33de.

* Revert "Export rmw_fastrtps_cpp target (#198)"

This reverts commit a69bab1.
  • Loading branch information
mikaelarguedas authored May 7, 2018
1 parent a9c33de commit 3700d75
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 7 deletions.
6 changes: 0 additions & 6 deletions rmw_fastrtps_cpp/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -99,18 +99,13 @@ PRIVATE "RMW_FASTRTPS_CPP_BUILDING_LIBRARY")

# specific order: dependents before dependencies
ament_export_include_directories(include)
ament_export_interfaces(export_rmw_fastrtps_cpp)
ament_export_libraries(rmw_fastrtps_cpp)

ament_export_dependencies(rosidl_typesupport_introspection_cpp)
ament_export_dependencies(rosidl_typesupport_introspection_c)
ament_export_dependencies(rosidl_generator_c)
ament_export_dependencies(rcutils)
ament_export_dependencies(rmw)
ament_export_dependencies(fastrtps_cmake_module)
ament_export_dependencies(fastcdr)
ament_export_dependencies(fastrtps)
ament_export_dependencies(FastRTPS)

register_rmw_implementation(
"c:rosidl_typesupport_c:rosidl_typesupport_introspection_c"
Expand All @@ -132,7 +127,6 @@ install(

install(
TARGETS rmw_fastrtps_cpp
EXPORT export_rmw_fastrtps_cpp
ARCHIVE DESTINATION lib
LIBRARY DESTINATION lib
RUNTIME DESTINATION bin
Expand Down
9 changes: 8 additions & 1 deletion rmw_fastrtps_cpp/rmw_fastrtps_cpp-extras.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,11 @@

# copied from rmw_fastrtps_cpp/rmw_fastrtps_cpp-extras.cmake

list(APPEND rmw_fastrtps_cpp_LIBRARIES rmw_fastrtps_cpp::rmw_fastrtps_cpp)
find_package(fastrtps_cmake_module REQUIRED)
find_package(fastcdr REQUIRED CONFIG)
find_package(fastrtps REQUIRED CONFIG)
find_package(FastRTPS REQUIRED MODULE)

list(APPEND rmw_fastrtps_cpp_INCLUDE_DIRS ${FastRTPS_INCLUDE_DIR})
# specific order: dependents before dependencies
list(APPEND rmw_fastrtps_cpp_LIBRARIES fastrtps fastcdr)

0 comments on commit 3700d75

Please sign in to comment.