Why are you directly invoking cmake? You should be using catkin_make from the root of your workspace.