From 427aabcd5de3a93e3dfe16123865bbfd22f111d9 Mon Sep 17 00:00:00 2001 From: Brian Gerkey Date: Thu, 3 Dec 2009 02:45:24 +0000 Subject: [PATCH] Applied patch to fix escaping for Xcode, #1893 --- core/rosbuild/public.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/rosbuild/public.cmake b/core/rosbuild/public.cmake index abbb7fe5..1cacfed5 100644 --- a/core/rosbuild/public.cmake +++ b/core/rosbuild/public.cmake @@ -148,7 +148,7 @@ macro(rosbuild_init) if(NOT ROSPACK_MAKEDIST) # Add ROS_PACKAGE_NAME define - add_definitions(-DROS_PACKAGE_NAME=\\\"${PROJECT_NAME}\\\") + add_definitions(-DROS_PACKAGE_NAME='\"${PROJECT_NAME}\"') # ROS_BUILD_TYPE is set by rosconfig set(CMAKE_BUILD_TYPE ${ROS_BUILD_TYPE})