summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorSander Vrijders <sander.vrijders@ugent.be>2017-05-18 11:51:44 +0200
committerSander Vrijders <sander.vrijders@ugent.be>2017-05-18 11:57:28 +0200
commit0682870bf7038b294185342a0c9b79e377c7b957 (patch)
tree3825854bb1dd6c23e8cc35216172aa67f8ad161e /include
parent6b17b5b956f8eadf20c16dadb48273147d922393 (diff)
downloadouroboros-0682870bf7038b294185342a0c9b79e377c7b957.tar.gz
ouroboros-0682870bf7038b294185342a0c9b79e377c7b957.zip
build: Fix bad if check
This fixes a bad if check for the version of cmake.
Diffstat (limited to 'include')
-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