summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorSander Vrijders <sander.vrijders@ugent.be>2017-04-07 10:18:46 +0000
committerdimitri staessens <dimitri.staessens@ugent.be>2017-04-07 10:18:46 +0000
commit97dd492cb7c6d88fbd9f95fe2469a637e445b762 (patch)
tree580153354f3018d08cd25d46b624bc3b4ff42300 /include
parenta520f53970e59b4663b2baa70dd458175154622b (diff)
parent20d0532a4b1fd7568adf63654d023d782373873e (diff)
downloadouroboros-97dd492cb7c6d88fbd9f95fe2469a637e445b762.tar.gz
ouroboros-97dd492cb7c6d88fbd9f95fe2469a637e445b762.zip
Merged in sandervrijders/ouroboros/be-netmap-cmake (pull request #470)
ipcpd: shim-eth-llc: Add check for netmap headers
Diffstat (limited to 'include')
-rw-r--r--include/ouroboros/wrap/CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
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)