From b83f7683c9efb6feff98ee3a2a2f97c65dafc213 Mon Sep 17 00:00:00 2001 From: Sander Vrijders Date: Thu, 1 Sep 2016 17:47:30 +0200 Subject: build: Add correct include directory for swig The correct include directory was not added to the CMakeLists in the wrap directory. Before it was working since the headers were already installed system-wide on my own system. --- include/ouroboros/wrap/CMakeLists.txt | 3 +++ 1 file changed, 3 insertions(+) diff --git a/include/ouroboros/wrap/CMakeLists.txt b/include/ouroboros/wrap/CMakeLists.txt index 39737bbc..16c86611 100644 --- a/include/ouroboros/wrap/CMakeLists.txt +++ b/include/ouroboros/wrap/CMakeLists.txt @@ -1,5 +1,8 @@ find_package(SWIG) +include_directories(${CMAKE_SOURCE_DIR}/include) +include_directories(${CMAKE_BINARY_DIR}/include) + if (NOT SWIG_FOUND) message("-- SWIG not found: Bindings for other languages disabled.") else () -- cgit v1.2.3