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:01:40 UTC

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

Author: kgiusti
Date: Fri Nov  2 17:01:39 2012
New Revision: 1405051

URL: http://svn.apache.org/viewvc?rev=1405051&view=rev
Log:
NO-JIRA: extra flags must be a string.

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=1405051&r1=1405050&r2=1405051&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:01:39 2012
@@ -151,8 +151,10 @@ target_link_libraries (proton qpid-proto
 add_executable (proton-dump src/proton-dump.c)
 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 -Iinclude -fPIC")
+   set (PN_EXTRA_C_FLAGS "-Wall -Werror -pedantic-errors -std=c99 -g -fPIC")
 endif (CMAKE_COMPILER_IS_GNUCC)
 
 set_target_properties (



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