From 0ed2ae85935be59b3fee5663a9906c4260cd64cc Mon Sep 17 00:00:00 2001 From: dimitri staessens Date: Wed, 13 Sep 2017 17:00:55 +0200 Subject: build: Fix DDNS tool detection for shim-udp This fixes output when detecting DDNS tools and homogenizes output and the APIs used to pass variables between the build system and the sources. Fixes some minor issues and typos). --- include/ouroboros/wrap/CMakeLists.txt | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'include') diff --git a/include/ouroboros/wrap/CMakeLists.txt b/include/ouroboros/wrap/CMakeLists.txt index 44c652d5..4ec42b9a 100644 --- a/include/ouroboros/wrap/CMakeLists.txt +++ b/include/ouroboros/wrap/CMakeLists.txt @@ -1,18 +1,20 @@ include_directories(${CMAKE_SOURCE_DIR}/include) include_directories(${CMAKE_BINARY_DIR}/include) -find_package(SWIG) +find_package(SWIG QUIET) if (NOT SWIG_FOUND) - message(STATUS "SWIG not found: Bindings for other languages disabled") + message(STATUS "Install SWIG to enable bindings for other languages") else () + message(STATUS "SWIG support enabled") include(${SWIG_USE_FILE}) include_directories(${CMAKE_CURRENT_SOURCE_DIR}) set(CMAKE_SWIG_FLAGS "") - find_package(PythonLibs) + find_package(PythonLibs QUIET) if (NOT PYTHONLIBS_FOUND) message(STATUS "Python not found: Python bindings will not be built") else () + message(STATUS "Python found: Python bindings will be built") include_directories(${PYTHON_INCLUDE_PATH}) # Python assumes C99 since Python 3.6 -- cgit v1.2.3