- message("-- Warning : you don't have ruby executable so you can compile and build examples but can't execute them!!!")
-endif(NOT RUBY_EXECUTABLE)
-
-if(RUBY_EXECUTABLE)
- message("-- Found ruby: ${RUBY_EXECUTABLE}")
-endif(RUBY_EXECUTABLE)
-
-message("-- Looking for ruby.h")
-if(RUBY_INCLUDE_DIR)
-message("-- Looking for ruby.h - found")
-else(RUBY_INCLUDE_DIR)
-message("-- Looking for ruby.h - not found")
-endif(RUBY_INCLUDE_DIR)
-
-message("-- Looking for confi.h")
-if(RUBY_CONFIG_INCLUDE_DIR)
-message("-- Looking for config.h - found")
-else(RUBY_CONFIG_INCLUDE_DIR)
-message("-- Looking for config.h - not found")
-endif(RUBY_CONFIG_INCLUDE_DIR)
-
-message("-- Looking for lib ruby")
-if(RUBY_LIBRARY)
-message("-- Looking for lib ruby - found")
-message("-- Lib ruby version: ${LIB_RUBY_VERSION}")
-else(RUBY_LIBRARY)
-message("-- Looking for lib ruby - not found")
-endif(RUBY_LIBRARY)
\ No newline at end of file
+ message(STATUS "Warning: you are missing the ruby executable, so you can compile and build examples but can't execute them!")
+endif(NOT RUBY_EXECUTABLE)
\ No newline at end of file