2 # This module looks for ruby. This module defines the
4 # RUBY_EXECUTABLE: the full path to the ruby tool.
5 # RUBY_FOUND: True if ruby has been found.
7 FIND_PROGRAM(RUBY_EXECUTABLE
9 DOC "path to the ruby executable"
12 # handle the QUIETLY and REQUIRED arguments and set RUBY_FOUND to TRUE if
13 # all listed variables are TRUE
14 INCLUDE(FindPackageHandleStandardArgs)
15 FIND_PACKAGE_HANDLE_STANDARD_ARGS(Ruby DEFAULT_MSG RUBY_EXECUTABLE)
17 MARK_AS_ADVANCED(RUBY_EXECUTABLE)