aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAvatar Marc-Antoine Perennou <Marc-Antoine@Perennou.com> 2016-12-30 13:49:25 +0100
committerAvatar Saleem Abdulrasool <compnerd@compnerd.org> 2016-12-30 18:00:13 +0100
commit392cae6c66a8eb95153bc28df207e4fcb85898d3 (patch)
tree22f69c8809bb27508d44fe1729ef2176d599823b
parent2c88125e96b2452c4833042b9016ff39b72dcfd3 (diff)
downloadpaludis-392cae6c66a8eb95153bc28df207e4fcb85898d3.tar.gz
paludis-392cae6c66a8eb95153bc28df207e4fcb85898d3.tar.xz
build: allow ruby 2.4
Change-Id: I995ff7af93edb8ecec5e62ee289e122e2297acee Signed-off-by: Marc-Antoine Perennou <Marc-Antoine@Perennou.com> Reviewed-on: https://galileo.mailstation.de/gerrit/7888 Reviewed-by: Saleem Abdulrasool <compnerd@compnerd.org>
-rw-r--r--CMakeLists.txt3
1 files changed, 2 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 9e46200fa..fa70f8cde 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -336,7 +336,8 @@ endif()
if(ENABLE_RUBY)
if(NOT "${RUBY_VERSION}" STREQUAL "2.1" AND
NOT "${RUBY_VERSION}" STREQUAL "2.2" AND
- NOT "${RUBY_VERSION}" STREQUAL "2.3")
+ NOT "${RUBY_VERSION}" STREQUAL "2.3" AND
+ NOT "${RUBY_VERSION}" STREQUAL "2.4")
message(SEND_ERROR "invalid ruby version specified (${RUBY_VERSION})")
endif()