File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 8080endif ()
8181
8282if (REACTOR_CPP_USE_AMENT)
83- ament_export_targets (${LIB_TARGET} Config HAS_LIBRARY_TARGET )
83+ ament_export_targets (${LIB_TARGET} Targets HAS_LIBRARY_TARGET )
8484 ament_export_include_directories (include )
8585 ament_package ()
8686endif ()
Original file line number Diff line number Diff line change @@ -61,12 +61,10 @@ if(REACTOR_CPP_INSTALL)
6161 install (FILES "${PROJECT_BINARY_DIR } /include/reactor-cpp/config.hh" DESTINATION "${CMAKE_INSTALL_INCLUDEDIR} /reactor-cpp" )
6262 endif ()
6363
64- install (TARGETS ${LIB_TARGET} EXPORT ${LIB_TARGET} Config
64+ install (TARGETS ${LIB_TARGET} EXPORT ${LIB_TARGET} Targets
6565 ARCHIVE DESTINATION "${CMAKE_INSTALL_LIBDIR} " OPTIONAL
6666 LIBRARY DESTINATION "${CMAKE_INSTALL_LIBDIR} " OPTIONAL
6767 RUNTIME DESTINATION "${CMAKE_INSTALL_BINDIR} " OPTIONAL )
6868
69- install (EXPORT ${LIB_TARGET} Config DESTINATION share/${LIB_TARGET} /cmake)
70-
71- export (TARGETS ${PROJECT_NAME } FILE ${LIB_TARGET} Config.cmake )
69+ install (EXPORT ${LIB_TARGET} Targets DESTINATION share/${LIB_TARGET} /cmake)
7270endif ()
You can’t perform that action at this time.
0 commit comments