Re: maco_optional_find_package magic

2009-03-13 Thread Alexander Neundorf
On Friday 13 March 2009, Jeff Mitchell wrote: Can someone clue me in as to how macro_optional_find_package manages to not have the configure abort (at the end) if the package isn't found? I thought it might be something in KDE4Defaults, but didn't find it in there either. I need to do a

Re: maco_optional_find_package magic

2009-03-13 Thread Jeff Mitchell
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Christian Ehrlicher wrote: The one thing it does additionally compared to plain FIND_PACKAGE() is that it automatically provides an option WITH_name_of_the_package, which you can disable, then it will not even try to search for the package.

Re: maco_optional_find_package magic

2009-03-13 Thread Alexander Neundorf
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

Re: maco_optional_find_package magic

2009-03-13 Thread Christian Ehrlicher
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?

Re: maco_optional_find_package magic

2009-03-13 Thread Jeff Mitchell
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Alexander Neundorf wrote: 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?

Re: maco_optional_find_package magic

2009-03-13 Thread Jeff Mitchell
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Jeff Mitchell wrote: Alexander Neundorf wrote: 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?

maco_optional_find_package magic

2009-03-12 Thread Jeff Mitchell
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Can someone clue me in as to how macro_optional_find_package manages to not have the configure abort (at the end) if the package isn't found? I thought it might be something in KDE4Defaults, but didn't find it in there either. I need to do a check