[Kde-bindings] KDE/kdebindings/cmake/modules
Richard Dale
richard.j.dale at gmail.com
Thu Jun 17 11:31:37 UTC 2010
SVN commit 1139117 by rdale:
* Make the ruby bindings build with the kubuntu version of ruby 1.9.1
CCMAIL: kde-bindings at kde.org
M +2 -2 FindRuby.cmake
--- trunk/KDE/kdebindings/cmake/modules/FindRuby.cmake #1139116:1139117
@@ -47,7 +47,7 @@
SET(Ruby_FIND_VERSION_SHORT_NODOT "18")
ENDIF(Ruby_FIND_VERSION_MAJOR AND Ruby_FIND_VERSION_MINOR)
-SET(_RUBY_POSSIBLE_EXECUTABLE_NAMES ${_RUBY_POSSIBLE_EXECUTABLE_NAMES} ruby1.9 ruby19)
+SET(_RUBY_POSSIBLE_EXECUTABLE_NAMES ${_RUBY_POSSIBLE_EXECUTABLE_NAMES} ruby1.9 ruby19 ruby1.9.1 ruby191 ruby1.9.2 ruby192)
# if we want a version below 1.9, also look for ruby 1.8
IF("${Ruby_FIND_VERSION_SHORT_NODOT}" VERSION_LESS "19")
@@ -193,7 +193,7 @@
# Determine the list of possible names for the ruby library
-SET(_RUBY_POSSIBLE_LIB_NAMES ruby ruby-static ruby${_RUBY_VERSION_SHORT})
+SET(_RUBY_POSSIBLE_LIB_NAMES ruby ruby-static ruby${_RUBY_VERSION_SHORT} ruby-${RUBY_VERSION})
IF(WIN32)
SET( _RUBY_MSVC_RUNTIME "" )
More information about the Kde-bindings
mailing list