Skip to content

Commit

Permalink
remove catkin file for install, Closes tork-a#14
Browse files Browse the repository at this point in the history
  • Loading branch information
k-okada committed Jul 18, 2018
1 parent 45ac237 commit 6ea48b0
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions patches/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -93,4 +93,12 @@ else()
file(APPEND \${_catkin_marker_file} \"${_catkin_marker_file_content}\")
endif()
")
else()
install(CODE "
file(GLOB catkin_install_files \$ENV{DESTDIR}\${CMAKE_INSTALL_PREFIX}/*.py \$ENV{DESTDIR}\${CMAKE_INSTALL_PREFIX}/setup.* \$ENV{DESTDIR}\${CMAKE_INSTALL_PREFIX}/env.* \$ENV{DESTDIR}\${CMAKE_INSTALL_PREFIX}/.ros* \$ENV{DESTDIR}\${CMAKE_INSTALL_PREFIX}/.catkin*)
foreach(file \${catkin_install_files})
message(\"Removing: \${file}\")
file(REMOVE \${file})
endforeach()
")
endif()

0 comments on commit 6ea48b0

Please sign in to comment.