This is an automated email from the ASF dual-hosted git repository.

kpvdr pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/qpid-proton.git


The following commit(s) were added to refs/heads/master by this push:
     new 85afb4c  PROTON-2120: Using separate CMAKE_C_FLAGS for compiling so as 
to be able to set C99 compiler
85afb4c is described below

commit 85afb4ca59f34b1a05baf1929bf1e39847bc627e
Author: Kim van der Riet <k...@europa.lan>
AuthorDate: Fri Oct 18 10:35:43 2019 -0400

    PROTON-2120: Using separate CMAKE_C_FLAGS for compiling so as to be able to 
set C99 compiler
---
 c/tests/CMakeLists.txt | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/c/tests/CMakeLists.txt b/c/tests/CMakeLists.txt
index 25b4f5c..457022f 100644
--- a/c/tests/CMakeLists.txt
+++ b/c/tests/CMakeLists.txt
@@ -81,7 +81,7 @@ if (CMAKE_CXX_COMPILER)
     option(THREADERCISER "Run the threaderciser concurrency tests" OFF)
     if (THREADERCISER)
       add_executable(c-threaderciser threaderciser.c)
-      set_target_properties(c-threaderciser PROPERTIES COMPILE_FLAGS 
"${CMAKE_CXX_FLAGS} ${CXX_WARNING_FLAGS}")
+      set_target_properties(c-threaderciser PROPERTIES COMPILE_FLAGS 
"${CMAKE_C_FLAGS} ${C_WARNING_FLAGS}")
       add_test(NAME c-threaderciser COMMAND ${test_env} ${TEST_EXE_PREFIX_CMD} 
$<TARGET_FILE:c-threaderciser>)
       set_tests_properties(c-threaderciser PROPERTIES WORKING_DIRECTORY 
${CMAKE_CURRENT_SOURCE_DIR})
       target_link_libraries (c-threaderciser qpid-proton-proactor)


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

Reply via email to