From e55886063abfc59c300f7bfe7b508be1a9d56b69 Mon Sep 17 00:00:00 2001 From: Peter Soetens Date: Thu, 31 Mar 2011 16:13:50 +0200 Subject: [PATCH] typegen: properly quote TYPEKIT_REGISTRY Without the extra quotes, the ... quotes are omitted from sources. Signed-off-by: Peter Soetens --- .../templates/typekit/typelib/CMakeLists.txt | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/lib/orogen/templates/typekit/typelib/CMakeLists.txt b/lib/orogen/templates/typekit/typelib/CMakeLists.txt index 8554e40..25123b9 100644 --- a/lib/orogen/templates/typekit/typelib/CMakeLists.txt +++ b/lib/orogen/templates/typekit/typelib/CMakeLists.txt @@ -5,7 +5,7 @@ include_directories(${TYPELIB_INCLUDE_DIRS}) link_directories(${TYPELIB_LIBRARY_DIRS}) set(TYPEKIT_REGISTRY ${CMAKE_INSTALL_PREFIX}/share/orogen/<%= typekit.name %>.tlb) -add_definitions(-DTYPEKIT_REGISTRY="${TYPEKIT_REGISTRY}") +add_definitions(-DTYPEKIT_REGISTRY='"${TYPEKIT_REGISTRY}"') set(libname_typelib <%= typekit.name %>-transport-typelib-${OROCOS_TARGET}) add_library(${libname_typelib} SHARED <%= impl.join("\n ") %> -- 1.7.0.4