kross-interpreters/kross-interpreters-4.10.5-ruby-2.0.patch

11 lines
460 B
Diff

--- kross-interpreters-4.10.5/ruby/CMakeLists.txt.orig 2013-07-05 11:40:28.345712586 +0200
+++ kross-interpreters-4.10.5/ruby/CMakeLists.txt 2013-07-05 11:39:17.141389267 +0200
@@ -1,6 +1,6 @@
find_package(Ruby 1.9 QUIET)
-if( RUBY_VERSION VERSION_GREATER "1.10" )
+if( RUBY_VERSION VERSION_GREATER "2.1" )
message(STATUS "Found Ruby: ${RUBY_EXECUTABLE} (found version \"${RUBY_VERSION}\") but only 1.9.x supported")
set(RUBY_FOUND False)
else()