This does not work. You are not allowed to place additional files in the source tree with catkin. But when you call make like this on the thirdparty libs they will be build in-source. You have to pass the directory of PROJECT_BUILD_DIR to make and then to the individual Makefiles recursively.