jrl-umi3218/jrl-cmakemodules — pull request #31 by nemogiftsun (2013-11-05 10:48:40+00:00)
Title: catkin_make compatibilty

catkin_make actually is run from the root of the catkin_workspace which makes the macros in python.cmake look for includes in CMAKE_SOURCE_DIR which is obviously the folder where the catkin_make is run. So python.cmake should be generic enough to handle this inconsistency. So the variables

CMAKE_SOURCE_DIR replaced to PROJECT_SOURCE_DIR
CMAKE_BINARY_DIR replaced to PROJECT_BINARY_DIR

As LAAS specific packages are built inside the required package, the values CMAKE_*_DIR is consistent with PROJECT_*_DIR.

Hence this Pull request!!!!