maco_optional_find_package magic
Jeff Mitchell
mitchell at kde.org
Fri Mar 13 22:50:34 CET 2009
-----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?
Thanks for all your help. Doing some message output made me figure out
where the problem was coming from.
The issue was mainly me not understanding the error I was seeing. I
thought that the issue was that CMake wasn't finding a variable that it
wanted to find in its module...but the problem was a big fat AND at the
end of that statement: AND I was using those variables in other
CMakeLists.txt files without appropriate _FOUND checks to guard it. (I
had thought they would simply just default to an empty string and not
cause a problem, but apparently this is not the case).
Thanks again,
Jeff
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (MingW32)
iEYEARECAAYFAkm61SgACgkQANYdqNCuGCWXxACg3hqfBf2tb/HVGicuTQXpcVb+
9yIAn3BYlrpdlqqpoKtVc7o2ycXsBa5L
=QqC3
-----END PGP SIGNATURE-----
More information about the Kde-buildsystem
mailing list