1 # - Find Korundum - the KDE Ruby bindings
3 # This module finds if Korundum is installed.
4 # It defines the following variables:
5 # KORUNDUM_PATH - the path to the korundum ruby file
6 # KORUNDUM_FOUND - true if it has been found
8 # Copyright (c) 2006, Egon Willighagen, <egonw@users.sf.net>
10 # Redistribution and use is allowed according to the terms of the BSD license.
11 # For details see the accompanying COPYING-CMAKE-SCRIPTS file.
13 find_path(KORUNDUM_PATH Korundum.rb /usr/lib/ruby/1.8)
15 include(FindPackageHandleStandardArgs)
16 find_package_handle_standard_args(Korundum DEFAULT_MSG KORUNDUM_PATH)
19 set(Korumdum_PATH ${KORUNDUM_PATH})
20 set(Korumdum_FOUND ${KORUNDUM_FOUND})