File: FindRubyExe.cmake

package info (click to toggle)
kio 5.116.0-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 41,496 kB
  • sloc: cpp: 123,468; xml: 528; ansic: 466; ruby: 60; sh: 21; makefile: 13
file content (16 lines) | stat: -rw-r--r-- 429 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
# SPDX-FileCopyrightText: 2019 Harald Sitter <sitter@kde.org>
#
# SPDX-License-Identifier: BSD-3-Clause

# FindRuby from cmake is also covering ruby dev headers and stuff. For when
# you only need ruby, this only finds ruby!

find_program(RubyExe_EXECUTABLE ruby)

include(FindPackageHandleStandardArgs)
find_package_handle_standard_args(RubyExe
    FOUND_VAR
        RubyExe_FOUND
    REQUIRED_VARS
        RubyExe_EXECUTABLE
)