Skip to content

Commit

Permalink
stamp env hook before copying (#1075)
Browse files Browse the repository at this point in the history
  • Loading branch information
dirk-thomas committed Apr 7, 2020
1 parent c51c4cc commit bea5d4f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions cmake/catkin_add_env_hooks.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,7 @@ function(catkin_add_env_hooks file_prefix)
@ONLY)
elseif (EXISTS ${base})
# copy plain file
stamp("${base}")
file(COPY ${base} DESTINATION ${CATKIN_DEVEL_PREFIX}/etc/catkin/profile.d)
else()
message(FATAL_ERROR "catkin_add_env_hooks() could not find environment hook. Either '${base}', '${base}.em', '${base}.develspace.em' or '${base}.in' must exist.")
Expand Down

0 comments on commit bea5d4f

Please sign in to comment.