You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@qpid.apache.org by mc...@apache.org on 2012/10/22 19:29:40 UTC

svn commit: r1400965 - /qpid/trunk/qpid/cpp/src/amqp.cmake

Author: mcpierce
Date: Mon Oct 22 17:29:40 2012
New Revision: 1400965

URL: http://svn.apache.org/viewvc?rev=1400965&view=rev
Log:
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.

Modified:
    qpid/trunk/qpid/cpp/src/amqp.cmake

Modified: qpid/trunk/qpid/cpp/src/amqp.cmake
URL: http://svn.apache.org/viewvc/qpid/trunk/qpid/cpp/src/amqp.cmake?rev=1400965&r1=1400964&r2=1400965&view=diff
==============================================================================
--- qpid/trunk/qpid/cpp/src/amqp.cmake (original)
+++ qpid/trunk/qpid/cpp/src/amqp.cmake Mon Oct 22 17:29:40 2012
@@ -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})



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@qpid.apache.org
For additional commands, e-mail: commits-help@qpid.apache.org