summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSander Vrijders <sander.vrijders@ugent.be>2017-05-18 09:59:20 +0000
committerdimitri staessens <dimitri.staessens@ugent.be>2017-05-18 09:59:20 +0000
commitaeff2580642355a725975597741b38f2d3f0d2fa (patch)
tree3825854bb1dd6c23e8cc35216172aa67f8ad161e
parent6b17b5b956f8eadf20c16dadb48273147d922393 (diff)
parent0682870bf7038b294185342a0c9b79e377c7b957 (diff)
downloadouroboros-aeff2580642355a725975597741b38f2d3f0d2fa.tar.gz
ouroboros-aeff2580642355a725975597741b38f2d3f0d2fa.zip
Merged in sandervrijders/ouroboros/be-swig-fix (pull request #508)
build: Fix bad if check
-rw-r--r--include/ouroboros/wrap/CMakeLists.txt3
1 files changed, 1 insertions, 2 deletions
diff --git a/include/ouroboros/wrap/CMakeLists.txt b/include/ouroboros/wrap/CMakeLists.txt
index 405f7157..eb44ed33 100644
--- a/include/ouroboros/wrap/CMakeLists.txt
+++ b/include/ouroboros/wrap/CMakeLists.txt
@@ -20,8 +20,7 @@ else ()
test_and_set_c_compiler_flag_global(-std=c99)
# CMake > 3.8 deprecates swig_add_module
- if (CMAKE_MAKOR_VERSION VERSION_LESS 3 AND
- CMAKE_MINOR_VERSION VERSION_LESS 8)
+ if (${CMAKE_VERSION} VERSION_LESS 3.8.0)
swig_add_module(ouroboros python ouroboros.i)
else ()
swig_add_library(ouroboros