Applied patch to fix escaping for Xcode, #1893

This commit is contained in:
Brian Gerkey 2009-12-03 02:45:24 +00:00
parent 4ddce57a98
commit 427aabcd5d
1 changed files with 1 additions and 1 deletions

View File

@ -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})