Skip to content

Commit

Permalink
resolve genlisp path in installspace at runtime (ros/catkin#490)
Browse files Browse the repository at this point in the history
  • Loading branch information
dirk-thomas committed Jul 26, 2013
1 parent 156fdce commit 42458c1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cmake/genlisp-extras.cmake.em
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ set(GENLISP_BIN "@(CMAKE_CURRENT_SOURCE_DIR)/scripts/gen_lisp.py")
set(GENLISP_TEMPLATE_DIR "@(CMAKE_CURRENT_SOURCE_DIR)/scripts")
@[else]@
# bin and template dir variables in installspace
set(GENLISP_BIN "@(CMAKE_INSTALL_PREFIX)/@(CATKIN_PACKAGE_BIN_DESTINATION)/gen_lisp.py")
set(GENLISP_TEMPLATE_DIR "@(CMAKE_INSTALL_PREFIX)/@(CATKIN_PACKAGE_SHARE_DESTINATION)")
set(GENLISP_BIN "${genlisp_DIR}/../../../@(CATKIN_PACKAGE_BIN_DESTINATION)/gen_lisp.py")
set(GENLISP_TEMPLATE_DIR "${genlisp_DIR}/..")
@[end if]@

# Generate .msg or .srv -> .lisp
Expand Down

0 comments on commit 42458c1

Please sign in to comment.