From 7e87bc0070a51012832add8034d26c56b432c9ab Mon Sep 17 00:00:00 2001 From: Allen Winter Date: Mon, 16 Jun 2008 02:26:34 +0000 Subject: [PATCH] a better logging message for Captury package discovery. svn path=/trunk/KDE/kdebase/workspace/; revision=821010 --- effects/CMakeLists.txt | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/effects/CMakeLists.txt b/effects/CMakeLists.txt index 9a2bc408bf..186af0b5a3 100644 --- a/effects/CMakeLists.txt +++ b/effects/CMakeLists.txt @@ -206,14 +206,13 @@ if( CAPTURY_LDFLAGS ) SET( CAPTURY_FOUND TRUE ) endif( CAPTURY_LDFLAGS ) -macro_log_feature(CAPTURY_FOUND "Captury framework" "libcaptury is a framework realtime video capturing for e.g. screen casts" "http://rm-rf.in/captury") +macro_log_feature(CAPTURY_FOUND "Captury framework library" "Realtime video capturing framework e.g. screen casts" "http://rm-rf.in/captury" FALSE "0.3.0" "Provides for video recording desktop effects.") -# HAVE_CAPTURY doesn't work for some reason, but it's not used now anyway macro_bool_to_01( CAPTURY_FOUND HAVE_CAPTURY ) -if( HAVE_CAPTURY ) +if( CAPTURY_FOUND ) KWIN4_ADD_EFFECT(videorecord videorecord.cpp) KWIN4_ADD_EFFECT_CONFIG(videorecord videorecord_config.cpp) target_link_libraries(kwin4_effect_videorecord ${KDE4_KIO_LIBS} ${CAPTURY_LDFLAGS}) install( FILES videorecord.desktop videorecord_config.desktop DESTINATION ${SERVICES_INSTALL_DIR}/kwin ) -endif( HAVE_CAPTURY ) +endif( CAPTURY_FOUND )