macro_optional_find_package and case-sensitivity

Volker Krause vkrause at kde.org
Tue Jan 5 11:48:57 CET 2010


Hi,

I just run into some build issues in kdelibs related to libattica on Windows 
and wanted to take the shortcut and simply disable it setting WITH_LibAttica 
(which is evaluated by macro_optional_find_package) to false. However, that 
didn't work. AFAICS this is caused by find_package_handle_standard_args 
upper-casing the prefix it uses (ie. LIBATTICA_FOUND in this case), while 
macro_optional_find_package does not (ie. giving me LibAttica_FOUND etc.).

So, every package using those two macros and a name that's not all uppercase 
is affected by this I guess. How can we fix this? Change 
macro_optional_find_package to additionally also use an uppercase prefix?

regards
Volker
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part.
Url : http://mail.kde.org/pipermail/kde-buildsystem/attachments/20100105/80d2c033/attachment.sig 


More information about the Kde-buildsystem mailing list