Skip to content

Commit

Permalink
Use CATKIN_GLOBAL_ETC_DESTINATION for etc (#79)
Browse files Browse the repository at this point in the history
  • Loading branch information
jspricke authored and dirk-thomas committed Aug 27, 2018
1 parent a189fc7 commit 42e3646
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions cmake/genmsg-extras.cmake.em
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,12 @@ if(_GENMSG_EXTRAS_INCLUDED_)
endif()
set(_GENMSG_EXTRAS_INCLUDED_ TRUE)

# set destination for langs
set(GENMSG_LANGS_DESTINATION "etc/ros/genmsg")

# We need various macros and variables that are provided by catkin
find_package(catkin REQUIRED)

# set destination for langs
set(GENMSG_LANGS_DESTINATION "${CATKIN_GLOBAL_ETC_DESTINATION}/ros/genmsg")

@[if DEVELSPACE]@
# bin dir variables in develspace
set(GENMSG_CHECK_DEPS_SCRIPT "@(CMAKE_CURRENT_SOURCE_DIR)/scripts/genmsg_check_deps.py")
Expand Down

0 comments on commit 42e3646

Please sign in to comment.