Skip to content

Commit

Permalink
Merge pull request #527 from k-okada/fix_523
Browse files Browse the repository at this point in the history
fix #523, use catkin_make -C to change direcotry
  • Loading branch information
130s committed Aug 30, 2014
2 parents 72e524d + e7f6f04 commit 1aa0f5d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion hrpsys_ros_bridge/catkin.cmake
Expand Up @@ -12,7 +12,7 @@ if(NOT pr2_controllers_msgs_FOUND)
download_pr2_controllers_msgs(hydro-devel)
# catkin_make
# rosmake pr2_controllers_msgs
execute_process(COMMAND cmake -E chdir ${CMAKE_SOURCE_DIR}/../ catkin_make --build /tmp/pr2_controllers --source ${PROJECT_SOURCE_DIR}/../pr2_controllers_msgs --pkg pr2_controllers_msgs OUTPUT_VARIABLE _compile_output RESULT_VARIABLE _compile_failed)
execute_process(COMMAND cmake -E chdir ${CMAKE_SOURCE_DIR}/../ catkin_make -C ${CMAKE_SOURCE_DIR}/../ --build /tmp/pr2_controllers --source ${PROJECT_SOURCE_DIR}/../pr2_controllers_msgs --pkg pr2_controllers_msgs OUTPUT_VARIABLE _compile_output RESULT_VARIABLE _compile_failed)
message("compile pr2_controllers_msgs ${_compile_output}")
if (_compile_failed)
message(FATAL_ERROR "compile pr2_controllers_msgs failed : ${_compile_failed}")
Expand Down

0 comments on commit 1aa0f5d

Please sign in to comment.