diff options
author | 2018-02-12 16:34:37 +0100 | |
---|---|---|
committer | 2018-02-14 09:34:08 +0100 | |
commit | 57881321fa3d5d82a9260db54afd608fd61dd533 (patch) | |
tree | 44eb8f3ad95bdda711c1092b29ea56ab49fc32dc | |
parent | 55711eef11836428ee434739fc5e0d221f03dad6 (diff) | |
download | paludis-57881321fa3d5d82a9260db54afd608fd61dd533.tar.gz paludis-57881321fa3d5d82a9260db54afd608fd61dd533.tar.xz |
allow building with ruby 2.5
Change-Id: Idabcbf590af536a2b2113cb0258e88f25afb6ba7
Signed-off-by: Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
-rw-r--r-- | CMakeLists.txt | 3 |
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() |