Instead of including the file in multiple location please add it to the global list of included files: https://github.com/ros/catkin/blob/groovy-devel/cmake/all.cmake#L100