From edd2c555ed952a5c97da99c4d63c6a9c954b54c6 Mon Sep 17 00:00:00 2001 From: Dimitri Staessens Date: Sat, 6 Apr 2019 18:58:08 +0200 Subject: build: Fix CMake 3.0 syntax in wrapper The wrapper contained a string that was split using a backslash. This is only supported in CMake > 3.0. Removed the split so compilation resumes with older versions of CMake. Signed-off-by: Dimitri Staessens Signed-off-by: Sander Vrijders --- include/ouroboros/wrap/CMakeLists.txt | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/include/ouroboros/wrap/CMakeLists.txt b/include/ouroboros/wrap/CMakeLists.txt index b11f89de..bac035b8 100644 --- a/include/ouroboros/wrap/CMakeLists.txt +++ b/include/ouroboros/wrap/CMakeLists.txt @@ -34,8 +34,7 @@ else () # SWIG generates code for varargs with an unused parameter # SWIG generates code with unsafe strncpy() set_target_properties(ouroboros PROPERTIES - COMPILE_FLAGS "${CMAKE_C_FLAGS} -std=c99 -Wno-unused-parameter \ - -Wno-stringop-truncation") + COMPILE_FLAGS "${CMAKE_C_FLAGS} -std=c99 -Wno-unused-parameter -Wno-stringop-truncation") swig_link_libraries(ouroboros ${PYTHON_LIBRARIES} ouroboros-common ouroboros-dev ouroboros-irm) -- cgit v1.2.3