aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAvatar Marc-Antoine Perennou <Marc-Antoine@Perennou.com> 2019-02-07 11:34:42 +0100
committerAvatar Marc-Antoine Perennou <Marc-Antoine@Perennou.com> 2019-02-07 11:34:42 +0100
commit016e8096a42d13fd6ee1780611341c89ed6e38af (patch)
tree36859dd469d3a42e4e8c563812a757d4804949ad
parentb00405ec77191c022a91829a1ed69af42ca33981 (diff)
downloadpaludis-016e8096a42d13fd6ee1780611341c89ed6e38af.tar.gz
paludis-016e8096a42d13fd6ee1780611341c89ed6e38af.tar.xz
allow building with ruby 2.6
Change-Id: I9fa0633ad28e6b24db009e2e229cbbe7d1d03d98 Signed-off-by: Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
-rw-r--r--CMakeLists.txt3
1 files changed, 2 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 66018f0..15927ce 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()