[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: KDE/kdebindings/ruby
From: Harald Sitter <sitter.harald () gmail ! com>
Date: 2010-08-31 10:21:26
Message-ID: 20100831102126.32571AC857 () svn ! kde ! org
[Download RAW message or body]
SVN commit 1170253 by sitter:
Use proper cmake syntax (EQUAL, LESS...) when checking whether to build krossruby
M +2 -2 CMakeLists.txt
--- trunk/KDE/kdebindings/ruby/CMakeLists.txt #1170252:1170253
@@ -80,9 +80,9 @@
#include <ruby.h>
int main() { ruby_init(); return 0; }" RubyCompiles)
if(RubyCompiles)
- if(ENABLE_KROSSRUBY AND RUBY_VERSION_MAJOR = 1 AND RUBY_VERSION_MINOR < 9)
+ if(ENABLE_KROSSRUBY AND RUBY_VERSION_MAJOR EQUAL 1 AND RUBY_VERSION_MINOR LESS 9)
set(BUILD_KrossRuby TRUE)
- endif(ENABLE_KROSSRUBY AND RUBY_VERSION_MAJOR = 1 AND RUBY_VERSION_MINOR < 9)
+ endif(ENABLE_KROSSRUBY AND RUBY_VERSION_MAJOR EQUAL 1 AND RUBY_VERSION_MINOR LESS 9)
else(RubyCompiles)
message(STATUS "Failed to compile a C++ program that embeds ruby.")
endif(RubyCompiles)
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic