[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-buildsystem
Subject:    Re: Please review: cmake check for Cagibi
From:       Christophe Giboudeaux <cgiboudeaux () gmail ! com>
Date:       2010-08-23 23:08:15
Message-ID: 4C72FF5F.4090801 () gmail ! com
[Download RAW message or body]

Hi,

Le 23/08/2010 21:53, Friedrich W. H. Kossebau a écrit :
> Hi,
> 
> following up to my and your emails on "How to test for a D-Bus run-time 
> dependency?" last tuesday here please find and then comment on my proposal to 
> test for the existance of cagibi during the build, so there is some hint at 
> every build of kdebase on this optional dependency.
> 

As explained last week, you shouldn't look for runtime dependencies at
build time.

If you really want to check if Cagibi is installed, please don't use
macro_log_feature which is confusing for packagers.

Instead, you may use:
find_program(CAGIBI_DAEMON NAMES cagibid)
if(NOT CAGIBI_DAEMON)
message(STATUS "[a message indicating it is a runtime dep]")
endif()

and you don't need the FindCagibi.cmake file anymore.


Christophe.
_______________________________________________
Kde-buildsystem mailing list
Kde-buildsystem@kde.org
https://mail.kde.org/mailman/listinfo/kde-buildsystem

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic