diff options
author | Sander Vrijders <sander.vrijders@ugent.be> | 2017-05-18 09:59:20 +0000 |
---|---|---|
committer | dimitri staessens <dimitri.staessens@ugent.be> | 2017-05-18 09:59:20 +0000 |
commit | aeff2580642355a725975597741b38f2d3f0d2fa (patch) | |
tree | 3825854bb1dd6c23e8cc35216172aa67f8ad161e | |
parent | 6b17b5b956f8eadf20c16dadb48273147d922393 (diff) | |
parent | 0682870bf7038b294185342a0c9b79e377c7b957 (diff) | |
download | ouroboros-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.txt | 3 |
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 |