[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-bindings
Subject: [Kde-bindings] branches/KDE/4.5/kdebindings/ruby
From: Richard Dale <richard.j.dale () gmail ! com>
Date: 2010-08-09 20:08:43
Message-ID: 20100809200843.04B02AC7E8 () svn ! kde ! org
[Download RAW message or body]
SVN commit 1161141 by rdale:
* Only build krossruby if the ruby version is 1.8
CCMAIL: kde-bindings@kde.org
M +2 -2 CMakeLists.txt
--- branches/KDE/4.5/kdebindings/ruby/CMakeLists.txt #1161140:1161141
@@ -74,9 +74,9 @@
#include <ruby.h>
int main() { ruby_init(); return 0; }" RubyCompiles)
if(RubyCompiles)
- if(ENABLE_KROSSRUBY)
+ if(ENABLE_KROSSRUBY AND RUBY_VERSION_MAJOR = 9 AND RUBY_VERSION_MINOR < 9)
set(BUILD_KrossRuby TRUE)
- endif(ENABLE_KROSSRUBY)
+ endif(ENABLE_KROSSRUBY AND RUBY_VERSION_MAJOR = 9 AND RUBY_VERSION_MINOR < 9)
else(RubyCompiles)
message(STATUS "Failed to compile a C++ program that embeds ruby.")
endif(RubyCompiles)
_______________________________________________
Kde-bindings mailing list
Kde-bindings@kde.org
https://mail.kde.org/mailman/listinfo/kde-bindings
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic