qpid-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mcpie...@apache.org
Subject svn commit: r1561877 - /qpid/dispatch/trunk/CMakeLists.txt
Date Mon, 27 Jan 2014 22:10:51 GMT
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


Mime
View raw message