summaryrefslogtreecommitdiff
path: root/cpp
diff options
context:
space:
mode:
authorDarryl L. Pierce <mcpierce@apache.org>2012-10-22 17:29:40 +0000
committerDarryl L. Pierce <mcpierce@apache.org>2012-10-22 17:29:40 +0000
commitb97f6206e2dada6a353f0582b0f8445293666b9f (patch)
treef07258f6ea0a865d297349431be9c73ee7a259b0 /cpp
parentfee3cf40e16b6a33f21f109f5e42eaf6726c65bc (diff)
downloadqpid-python-b97f6206e2dada6a353f0582b0f8445293666b9f.tar.gz
QPID-4386: Fixes a few Cmake errors WRT set_target_properties
Variables used in arguments for set_target_properties need to be wrapped in double quotes. Otherwise when they are undefined Cmake thinks there are too few arguments present. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1400965 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp')
-rw-r--r--cpp/src/amqp.cmake8
1 files changed, 4 insertions, 4 deletions
diff --git a/cpp/src/amqp.cmake b/cpp/src/amqp.cmake
index 7a113a8e2a..c8da3abf47 100644
--- a/cpp/src/amqp.cmake
+++ b/cpp/src/amqp.cmake
@@ -74,8 +74,8 @@ if (BUILD_AMQP)
target_link_libraries (amqp qpidbroker qpidcommon)
set_target_properties (amqp PROPERTIES
PREFIX ""
- COMPILE_FLAGS ${PROTON_COMPILE_FLAGS}
- LINK_FLAGS ${PROTON_LINK_FLAGS})
+ COMPILE_FLAGS "${PROTON_COMPILE_FLAGS}"
+ LINK_FLAGS "${PROTON_LINK_FLAGS}")
install (TARGETS amqp
DESTINATION ${QPIDD_MODULE_DIR}
COMPONENT ${QPID_COMPONENT_BROKER})
@@ -109,8 +109,8 @@ if (BUILD_AMQP)
target_link_libraries (amqpc qpidclient qpidcommon)
set_target_properties (amqpc PROPERTIES
PREFIX ""
- COMPILE_FLAGS ${PROTON_COMPILE_FLAGS}
- LINK_FLAGS ${PROTON_LINK_FLAGS})
+ COMPILE_FLAGS "${PROTON_COMPILE_FLAGS}"
+ LINK_FLAGS "${PROTON_LINK_FLAGS}")
install (TARGETS amqpc
DESTINATION ${QPIDC_MODULE_DIR}
COMPONENT ${QPID_COMPONENT_CLIENT})