summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authordimitri staessens <[email protected]>2016-09-02 11:13:11 +0200
committerdimitri staessens <[email protected]>2016-09-02 11:13:11 +0200
commit4493d36a4769c6625e3025a0c484bf0ec65708bd (patch)
tree836dfaf41531e7b76535c81bf1a8b07cc8e78951 /include
parent0325130c969c32f8802122f609c0dd225e5c1a1f (diff)
parentb83f7683c9efb6feff98ee3a2a2f97c65dafc213 (diff)
downloadouroboros-4493d36a4769c6625e3025a0c484bf0ec65708bd.tar.gz
ouroboros-4493d36a4769c6625e3025a0c484bf0ec65708bd.zip
Merged in sandervrijders/ouroboros/be-swig-fix (pull request #236)
build: Add correct include directory for swig
Diffstat (limited to 'include')
-rw-r--r--include/ouroboros/wrap/CMakeLists.txt3
1 files changed, 3 insertions, 0 deletions
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 ()