aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--CMakeLists.txt3
1 files changed, 2 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 66018f035..15927ce37 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -340,7 +340,8 @@ if(ENABLE_RUBY)
NOT "${RUBY_VERSION}" STREQUAL "2.2" AND
NOT "${RUBY_VERSION}" STREQUAL "2.3" AND
NOT "${RUBY_VERSION}" STREQUAL "2.4" AND
- NOT "${RUBY_VERSION}" STREQUAL "2.5")
+ NOT "${RUBY_VERSION}" STREQUAL "2.5" AND
+ NOT "${RUBY_VERSION}" STREQUAL "2.6")
message(SEND_ERROR "invalid ruby version specified (${RUBY_VERSION})")
endif()