Skip to content

Commit

Permalink
feat: update cmake install part for ROS2
Browse files Browse the repository at this point in the history
  • Loading branch information
CrazyTomX committed Nov 6, 2020
1 parent 61bfbfe commit e35d34e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@ endif()
#========================
# Install & Uninstall
#========================
if(UNIX)
if(UNIX AND NOT ${COMPILE_METHOD} STREQUAL "COLCON")
install(FILES ${DRIVER_CMAKE_ROOT}/rs_driverConfig.cmake
${DRIVER_CMAKE_ROOT}/rs_driverConfigVersion.cmake
DESTINATION ${INSTALL_CMAKE_DIR}/${CMAKE_PROJECT_NAME})
Expand All @@ -177,4 +177,4 @@ if(UNIX)
add_custom_target(uninstall
COMMAND ${CMAKE_COMMAND} -P ${CMAKE_CURRENT_BINARY_DIR}/cmake_uninstall.cmake)
endif(NOT TARGET uninstall)
endif(UNIX)
endif(UNIX AND NOT ${COMPILE_METHOD} STREQUAL "COLCON")

0 comments on commit e35d34e

Please sign in to comment.