blob: 59ad44b1a369fc1a25737858b438cee0a0d5ea18 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
# - Find Korundum - the KDE Ruby bindings
#
# This module finds if Korundum is installed.
#
# Copyright (c) 2006, Egon Willighagen, <egonw@users.sf.net>
#
# Redistribution and use is allowed according to the terms of the BSD license.
# For details see the accompanying COPYING-CMAKE-SCRIPTS file.
FIND_PATH(Korumdum_PATH Korundum.rb /usr/lib/ruby/1.8)
IF (Korumdum_PATH)
SET(Korumdum_FOUND TRUE)
ENDIF (Korumdum_PATH)
IF (Korumdum_FOUND)
IF (NOT Korumdum_FIND_QUIETLY)
MESSAGE(STATUS "Found Korumdum: ${Korumdum_PATH}")
ENDIF (NOT Korumdum_FIND_QUIETLY)
ELSE (Korumdum_FOUND)
IF (Korumdum_FIND_REQUIRED)
MESSAGE(FATAL_ERROR "Could not find Korumdum")
ENDIF (Korumdum_FIND_REQUIRED)
ENDIF (Korumdum_FOUND)
|