Skip to content

Commit

Permalink
Merge pull request #732 from ros/install_env_hooks_only_with_catkin
Browse files Browse the repository at this point in the history
only install environment hooks for catkin_make(_isolated) completion in the catkin package
  • Loading branch information
dirk-thomas committed Apr 13, 2015
2 parents 675896d + 712047c commit 1f39b7f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmake/all.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -195,7 +195,7 @@ set(CATKIN_ENV ${SETUP_DIR}/env_cached.${script_ext} CACHE INTERNAL "catkin envi
if(CATKIN_BUILD_BINARY_PACKAGE)
set(catkin_skip_install_env_hooks "SKIP_INSTALL")
endif()
if(CMAKE_HOST_UNIX)
if(CMAKE_HOST_UNIX AND PROJECT_NAME STREQUAL "catkin")
catkin_add_env_hooks(05.catkin_make SHELLS bash DIRECTORY ${catkin_EXTRAS_DIR}/env-hooks ${catkin_skip_install_env_hooks})
catkin_add_env_hooks(05.catkin_make_isolated SHELLS bash DIRECTORY ${catkin_EXTRAS_DIR}/env-hooks ${catkin_skip_install_env_hooks})
endif()
Expand Down

0 comments on commit 1f39b7f

Please sign in to comment.