<div class="gmail_quote">On Fri, Feb 27, 2009 at 7:11 PM, Clinton Stimpson <span dir="ltr"><<a href="mailto:clinton@elemtech.com">clinton@elemtech.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<br>
I'm writing a FooConfig.cmake to support<br>
<br>
find_package(Foo COMPONENTS A B C)<br>
<br>
I see that Foo_FOUND is always TRUE no matter what I try to set to from FooConfig.cmake.<br>
How does a FooConfig.cmake tell the caller whether the components were all found?<br>
I can make my own variables, but I wanted to know if there was an official way to do this.</blockquote><div><br>I'm not sure if this is official, but it's the closest thing I could find in Modules/readme.txt<br><br>
XXX_YY_FOUND If False, optional YY part of XXX sytem is not available.<br></div></div><br>-- <br>Philip Lowman<br>