You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@qpid.apache.org by kg...@apache.org on 2012/11/02 18:06:52 UTC

svn commit: r1405054 - /qpid/proton/branches/kgiusti-msvc2010/proton-c/CMakeLists.txt

Author: kgiusti
Date: Fri Nov  2 17:06:51 2012
New Revision: 1405054

URL: http://svn.apache.org/viewvc?rev=1405054&view=rev
Log:
NO-JIRA: fix the windows build

Modified:
    qpid/proton/branches/kgiusti-msvc2010/proton-c/CMakeLists.txt

Modified: qpid/proton/branches/kgiusti-msvc2010/proton-c/CMakeLists.txt
URL: http://svn.apache.org/viewvc/qpid/proton/branches/kgiusti-msvc2010/proton-c/CMakeLists.txt?rev=1405054&r1=1405053&r2=1405054&view=diff
==============================================================================
--- qpid/proton/branches/kgiusti-msvc2010/proton-c/CMakeLists.txt (original)
+++ qpid/proton/branches/kgiusti-msvc2010/proton-c/CMakeLists.txt Fri Nov  2 17:06:51 2012
@@ -152,7 +152,6 @@ add_executable (proton-dump src/proton-d
 target_link_libraries (proton-dump qpid-proton)
 
 # Set any additional platform specific C compiler flags
-set (PN_EXTRA_C_FLAGS "")
 if (CMAKE_COMPILER_IS_GNUCC)
    set (PN_EXTRA_C_FLAGS "-Wall -Werror -pedantic-errors -std=c99 -g -fPIC")
 endif (CMAKE_COMPILER_IS_GNUCC)
@@ -160,7 +159,7 @@ endif (CMAKE_COMPILER_IS_GNUCC)
 set_target_properties (
   qpid-proton
   PROPERTIES
-  COMPILE_FLAGS ${PN_EXTRA_C_FLAGS}
+  COMPILE_FLAGS "${PN_EXTRA_C_FLAGS}"
   VERSION   ${PN_VERSION}
   SOVERSION ${PN_SOVERSION}
 )
@@ -168,7 +167,7 @@ set_target_properties (
 set_target_properties (
    proton proton-dump
   PROPERTIES
-  COMPILE_FLAGS ${PN_EXTRA_C_FLAGS}
+  COMPILE_FLAGS "${PN_EXTRA_C_FLAGS}"
 )
 
 # Install executables and libraries



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