output all vars in case of error
This commit is contained in:
parent
832f9a704b
commit
5db18bac96
|
@ -97,6 +97,7 @@ macro(_rosbuild_check_package_location)
|
|||
)
|
||||
if(_rosbuild_check_package_location_failed)
|
||||
message("[rosbuild] Error from directory check: $ENV{ROS_ROOT}/core/rosbuild/bin/check_same_directories.py ${${PROJECT_NAME}_PACKAGE_PATH} ${PROJECT_SOURCE_DIR}")
|
||||
message("${_rosbuild_check_package_location_failed}")
|
||||
message("${_rosbuild_check_package_location_error}")
|
||||
message(FATAL_ERROR "[rosbuild] rospack found package \"${PROJECT_NAME}\" at \"${${PROJECT_NAME}_PACKAGE_PATH}\", but the current directory is \"${PROJECT_SOURCE_DIR}\". You should double-check your ROS_PACKAGE_PATH to ensure that packages are found in the correct precedence order.")
|
||||
endif(_rosbuild_check_package_location_failed)
|
||||
|
|
Loading…
Reference in New Issue