maco_optional_find_package magic

Christian Ehrlicher Ch.Ehrlicher at gmx.de
Fri Mar 13 19:54:19 CET 2009


Alexander Neundorf schrieb:
> On Friday 13 March 2009, Jeff Mitchell wrote:
> ...
>> If you don't mind, here's a CMakeLists.txt and the corresponding
>> FindTaglibExtras.cmake...can you see if you can spot why this might be
>> happening?
>>
>> http://websvn.kde.org/trunk/extragear/multimedia/amarok/CMakeLists.txt?revi
>> sion=938768&view=markup
>> http://websvn.kde.org/trunk/extragear/multimedia/amarok/cmake/modules/FindT
>> aglibExtras.cmake?revision=938775&view=markup
>>
>> Note that in FindTaglibExtras.cmake I've expanded some macros and pasted
>> them in here...this is on purpose, and not really worth getting into in
>> this forum, 
> 
> Yes, it is.
> FindPackageHandleStandardArgs.cmake comes with cmake and should be usable. 
> Please let us know which problems you have with it.
> 
> Beside that, it looks quite ok (the expanded macros don't make reading it 
> easier).
> I'd suggest you add some debug output using message(STATUS ...) to see what's 
> going on. Or you replace the two FATAL_ERROR with STATUS to see why it's 
> failing.
> 
Shouldn't it be TaglibExtras_FIND_REQUIRED and not 
Taglib-Extras_FIND_REQUIRED ?

Christian


More information about the Kde-buildsystem mailing list