summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohnathan Corgan <johnathan@corganlabs.com>2017-04-17 17:09:02 -0700
committerJohnathan Corgan <johnathan@corganlabs.com>2017-04-17 17:09:02 -0700
commit0476c5f73c0d26c221723eb02e7eecc4df9c099c (patch)
treee7949dcb97522fbad8a0053e70f4c47724987ea6
parentc917efc83afe708313d2079b0cf1f3160441b604 (diff)
parent78d9a0b43af94e604840b45a627e3b02979f9a0a (diff)
Merge branch 'next' into python3
-rw-r--r--CMakeLists.txt3
1 files changed, 2 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 2ff1f4f1d9..db5ddb798a 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -349,7 +349,8 @@ find_package(SWIG)
if(SWIG_FOUND)
set(SWIG_VERSION_CHECK FALSE)
- if("${SWIG_VERSION}" VERSION_GREATER ${GR_SWIG_MIN_VERSION})
+ if("${SWIG_VERSION}" VERSION_EQUAL ${GR_SWIG_MIN_VERSION} OR
+ "${SWIG_VERSION}" VERSION_GREATER ${GR_SWIG_MIN_VERSION})
set(SWIG_VERSION_CHECK TRUE)
endif()
endif(SWIG_FOUND)