Applied patch to support use of rostoolchain in concert with

rosconfig.cmake, #2670.
This commit is contained in:
Brian Gerkey 2010-06-15 00:46:06 +00:00
parent 493d840283
commit e0599e1bef
1 changed files with 2 additions and 1 deletions

View File

@ -23,7 +23,8 @@ set(PROJECTCONFIG PROJECTCONFIG-NOTFOUND)
find_file(USERCONFIG
rosconfig.cmake
PATHS ENV ROS_ROOT
NO_DEFAULT_PATH)
NO_DEFAULT_PATH
NO_CMAKE_FIND_ROOT_PATH)
if(USERCONFIG)
message("including user's config file: ${USERCONFIG}")
include(${USERCONFIG})