diff options
| author | Darryl L. Pierce <mcpierce@apache.org> | 2012-10-22 17:29:40 +0000 |
|---|---|---|
| committer | Darryl L. Pierce <mcpierce@apache.org> | 2012-10-22 17:29:40 +0000 |
| commit | 6e3697405ec8f2e10aa279c9c19748fd395aef6b (patch) | |
| tree | 257d9d00a9b9c9b55e90e975ce21531dbbd2049a /qpid/cpp/src | |
| parent | dc24715bfb243ddcc71009776dd6b7e21986b75a (diff) | |
| download | qpid-python-6e3697405ec8f2e10aa279c9c19748fd395aef6b.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@1400965 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'qpid/cpp/src')
| -rw-r--r-- | qpid/cpp/src/amqp.cmake | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/qpid/cpp/src/amqp.cmake b/qpid/cpp/src/amqp.cmake index 7a113a8e2a..c8da3abf47 100644 --- a/qpid/cpp/src/amqp.cmake +++ b/qpid/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}) |
