blob: b12337a158e1ad9e8738382c7f76ea980f545176 (
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
25
26
27
28
29
30
31
32
33
34
35
36
|
#################################################
#
# (C) 2012 Slavek Banko
# slavek (DOT) banko (AT) axis.cz
#
# Improvements and feedback are welcome
#
# This file is released under GPL >= 2
#
#################################################
message( "-- checking for 'libkcal'" )
find_path(
LIBKCAL_INCLUDE_DIR
kcalversion.h
PATHS
${TDE_INCLUDE_DIR}/libkcal
${TDE_INCLUDE_DIR}
${TQT_INCLUDE_DIRS}
)
find_library(
LIBKCAL_LIBRARY
kcal
PATHS
${TDE_LIB_DIR}
${TQT_LIBRARY_DIRS}
)
if( LIBKCAL_LIBRARY )
get_filename_component( LIBKCAL_LIBRARY_DIR ${LIBKCAL_LIBRARY} PATH CACHE )
endif( )
if( NOT LIBKCAL_INCLUDE_DIR OR NOT LIBKCAL_LIBRARY_DIR )
tde_message_fatal( "libkcal required, but was not found on your system" )
endif( )
|