summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorDimitri Staessens <[email protected]>2019-04-06 18:58:08 +0200
committerSander Vrijders <[email protected]>2019-04-08 19:39:09 +0200
commitedd2c555ed952a5c97da99c4d63c6a9c954b54c6 (patch)
treeca026db0c12f7729854f34649d6b958c84b5de33 /include
parent3e446f29375c0908e8b68ad3a4fd0c5958538150 (diff)
downloadouroboros-edd2c555ed952a5c97da99c4d63c6a9c954b54c6.tar.gz
ouroboros-edd2c555ed952a5c97da99c4d63c6a9c954b54c6.zip
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 <[email protected]> Signed-off-by: Sander Vrijders <[email protected]>
Diffstat (limited to 'include')
-rw-r--r--include/ouroboros/wrap/CMakeLists.txt3
1 files changed, 1 insertions, 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)