aboutsummaryrefslogtreecommitdiff
path: root/CMakeLists.txt
diff options
context:
space:
mode:
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt3
1 files changed, 2 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 6e75f9ea4..286eb79e3 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -339,7 +339,8 @@ if(ENABLE_RUBY)
if(NOT "${RUBY_VERSION}" STREQUAL "2.1" AND
NOT "${RUBY_VERSION}" STREQUAL "2.2" AND
NOT "${RUBY_VERSION}" STREQUAL "2.3" AND
- NOT "${RUBY_VERSION}" STREQUAL "2.4")
+ NOT "${RUBY_VERSION}" STREQUAL "2.4" AND
+ NOT "${RUBY_VERSION}" STREQUAL "2.5")
message(SEND_ERROR "invalid ruby version specified (${RUBY_VERSION})")
endif()