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 2014/01/27 23:10:51 UTC

svn commit: r1561877 - /qpid/dispatch/trunk/CMakeLists.txt

Author: mcpierce
Date: Mon Jan 27 22:10:50 2014
New Revision: 1561877

URL: http://svn.apache.org/r1561877
Log:
QPID-5517: Do not discard user defined CFLAGS.

Refactored how additional compiler flags are appended.

Modified:
    qpid/dispatch/trunk/CMakeLists.txt

Modified: qpid/dispatch/trunk/CMakeLists.txt
URL: http://svn.apache.org/viewvc/qpid/dispatch/trunk/CMakeLists.txt?rev=1561877&r1=1561876&r2=1561877&view=diff
==============================================================================
--- qpid/dispatch/trunk/CMakeLists.txt (original)
+++ qpid/dispatch/trunk/CMakeLists.txt Mon Jan 27 22:10:50 2014
@@ -82,7 +82,10 @@ include_directories(
     ${PYTHON_INCLUDE_PATH}
     )
 
-set(CMAKE_C_FLAGS "-pthread -Wall -Werror -std=gnu99")
+add_compile_options(-pthread)
+add_compile_options(-Wall)
+add_compile_options(-Werror)
+add_compile_options(-std=gnu99)
 set(CATCH_UNDEFINED "-Wl,--no-undefined")
 
 configure_file(${CMAKE_CURRENT_SOURCE_DIR}/src/conditionals.h.in



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