summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSander Vrijders <sander@ouroboros.rocks>2019-09-28 12:36:40 +0200
committerDimitri Staessens <dimitri@ouroboros.rocks>2019-09-29 13:43:22 +0200
commite7d3c1776bc8abd1d96ffc0e4cb1acdda201dba9 (patch)
tree16026617f8ccc0d9de2f91b4f95165a260961fc0
parente87cf19efdd5e3c8acf9b637f34b70182e3d2824 (diff)
downloadouroboros-e7d3c1776bc8abd1d96ffc0e4cb1acdda201dba9.tar.gz
ouroboros-e7d3c1776bc8abd1d96ffc0e4cb1acdda201dba9.zip
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 <sander@ouroboros.rocks> Signed-off-by: Dimitri Staessens <dimitri@ouroboros.rocks>
-rw-r--r--include/ouroboros/wrap/CMakeLists.txt4
1 files 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 ()