maco_optional_find_package magic

Jeff Mitchell mitchell at kde.org
Fri Mar 13 01:38:37 CET 2009


-----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 before I add the KDE4 includes/find_package, so I
can't use the macro (because I can't rely on KDE4 being installed)...but
if I take the macro's code and paste it into my CMakeLists.txt, it
doesn't behave the same (I'm not using REQUIRED).

Thanks,
Jeff
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkm5qwkACgkQANYdqNCuGCV/fACeJQvTzhE5VFZxdv8M/4BBKYmj
wKUAnR4ZLwk9qdtxZZdNIMDcPGclOrZK
=Ph4d
-----END PGP SIGNATURE-----


More information about the Kde-buildsystem mailing list