From e7d3c1776bc8abd1d96ffc0e4cb1acdda201dba9 Mon Sep 17 00:00:00 2001 From: Sander Vrijders Date: Sat, 28 Sep 2019 12:36:40 +0200 Subject: Disable SWIG support by default The current build fails on older Ubuntu versions. Moreover, the generated code does not wrap flow_write and flow_read correctly. Signed-off-by: Sander Vrijders Signed-off-by: Dimitri Staessens --- include/ouroboros/wrap/CMakeLists.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/ouroboros/wrap/CMakeLists.txt b/include/ouroboros/wrap/CMakeLists.txt index bac035b8..4b4af98e 100644 --- a/include/ouroboros/wrap/CMakeLists.txt +++ b/include/ouroboros/wrap/CMakeLists.txt @@ -5,7 +5,7 @@ find_package(SWIG QUIET) if (NOT SWIG_FOUND) message(STATUS "Install SWIG to enable bindings for other languages") else () - set(DISABLE_SWIG FALSE CACHE BOOL "Disable SWIG support") + set(DISABLE_SWIG TRUE CACHE BOOL "Disable SWIG support") if (NOT DISABLE_SWIG) message(STATUS "SWIG support enabled") include(${SWIG_USE_FILE}) @@ -69,7 +69,7 @@ else () DESTINATION ${PYTHON_MODULE_PATH}) endif () else () - message(STATUS "SWIG support disabled by user") + message(STATUS "SWIG support disabled") endif () endif () -- cgit v1.2.3