From 20d0532a4b1fd7568adf63654d023d782373873e Mon Sep 17 00:00:00 2001 From: Sander Vrijders Date: Fri, 7 Apr 2017 12:14:09 +0200 Subject: build: Change compiler check output and update wrap This removes some of the log messages spewed out during a check of a compiler flag. It also makes the SWIG compiler flag for C99 independent of the compiler. --- include/ouroboros/wrap/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include/ouroboros/wrap/CMakeLists.txt') diff --git a/include/ouroboros/wrap/CMakeLists.txt b/include/ouroboros/wrap/CMakeLists.txt index 7753ca02..fd9368e8 100644 --- a/include/ouroboros/wrap/CMakeLists.txt +++ b/include/ouroboros/wrap/CMakeLists.txt @@ -17,7 +17,7 @@ else () include_directories(${PYTHON_INCLUDE_PATH}) # Python assumes C99 since Python 3.6 - set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -std=c99") + test_and_set_c_compiler_flag_global(-std=c99) swig_add_module(ouroboros python ouroboros.i) swig_link_libraries(ouroboros ${PYTHON_LIBRARIES} ouroboros) -- cgit v1.2.3