Skip to content

Commit 7077260

Browse files
authored
Merge pull request #530 from nim65s/ros2
CMake: update ament packaging
2 parents 78f0b88 + 5d2e4ef commit 7077260

File tree

2 files changed

+1
-24
lines changed

2 files changed

+1
-24
lines changed

CMakeLists.txt

Lines changed: 0 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -445,29 +445,6 @@ add_source_group(${PROJECT_NAME}_SOURCES)
445445

446446
# Install package for ROS
447447
install(FILES package.xml DESTINATION share/eigenpy)
448-
# Allows Colcon to find non-Ament packages when using workspace underlays
449-
file(
450-
WRITE
451-
${CMAKE_CURRENT_BINARY_DIR}/share/ament_index/resource_index/packages/${PROJECT_NAME}
452-
"")
453-
install(
454-
FILES
455-
${CMAKE_CURRENT_BINARY_DIR}/share/ament_index/resource_index/packages/${PROJECT_NAME}
456-
DESTINATION share/ament_index/resource_index/packages)
457-
file(
458-
WRITE
459-
${CMAKE_CURRENT_BINARY_DIR}/share/${PROJECT_NAME}/hook/ament_prefix_path.dsv
460-
"prepend-non-duplicate;AMENT_PREFIX_PATH;")
461-
install(
462-
FILES
463-
${CMAKE_CURRENT_BINARY_DIR}/share/${PROJECT_NAME}/hook/ament_prefix_path.dsv
464-
DESTINATION share/${PROJECT_NAME}/hook)
465-
file(WRITE
466-
${CMAKE_CURRENT_BINARY_DIR}/share/${PROJECT_NAME}/hook/python_path.dsv
467-
"prepend-non-duplicate;PYTHONPATH;${PYTHON_SITELIB}")
468-
install(
469-
FILES ${CMAKE_CURRENT_BINARY_DIR}/share/${PROJECT_NAME}/hook/python_path.dsv
470-
DESTINATION share/${PROJECT_NAME}/hook)
471448

472449
# ----------------------------------------------------
473450
# --- PYTHON LIBRARY ---------------------------------

cmake

0 commit comments

Comments
 (0)