[CMake] Does FIND_PACKAGE ignore REQUIRED and QUIET in Config mode ?

Yann Cointepas yann at sapetnioc.org
Fri Aug 29 18:02:14 EDT 2008


Hi,

I would like to use XXX-config.cmake file (generated from a
XXX-config.cmake.in) in the same way as if it was FindXXX.cmake (I want to
use the search policy of Config mode). But no XXX_FIND_REQUIRED nor
XXX_FIND_QUIET variables are defined when XXX-config.cmake is executed with
find_package( XXX REQUIRED|QUIET ). Is there another way to get this
information ?

Regards,

       Yann Cointepas
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.cmake.org/pipermail/cmake/attachments/20080830/26953a80/attachment.htm>


More information about the CMake mailing list