Skip to content

Commit

Permalink
Create destination directory during symlink install
Browse files Browse the repository at this point in the history
  • Loading branch information
EzraBrooks committed Dec 30, 2024
1 parent 08de943 commit 59d5730
Showing 1 changed file with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,11 @@ function(ament_cmake_symlink_install_directory cmake_current_source_dir)
# remove trailing slash
string(SUBSTRING "${dir}" 0 ${offset} dir)
endif()

# Create destination directory.
# This does *not* solve the problem of empty directories WITHIN the install tree,
# but does make sure that the top-level directory specified by the caller gets created.
file(MAKE_DIRECTORY "${destination}")

# glob recursive files
set(relative_files "")
Expand Down

0 comments on commit 59d5730

Please sign in to comment.