You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
37 lines
776 B
37 lines
776 B
#################################################
|
|
#
|
|
# (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( )
|