[CMake] FIND_PACKAGE: QUIET and REQUIRED should be mutually exclusive, right?

Alexander Neundorf a.neundorf-work at gmx.net
Thu Jul 19 14:40:24 EDT 2007


On Tuesday 26 June 2007 17:57, Miguel A. Figueroa-Villanueva wrote:
> Hello all,
...
> Hence, what I gather is that:
>
> 1. neither QUIET, nor REQUIRED: means complain, but don't issue FATAL_ERROR
> 2. QUIET: means don't complain and don't issue FATAL_ERROR
> 3. REQUIRED: means complain and issue FATAL_ERROR
> 4. What about QUIET and REQUIRED?

QUIET and REQUIRED: fail with FATAL_ERROR if not found, otherwise be quiet.
I changed the readme.txt accordingly. I think ignoring REQUIRED if QUIET is 
set doesn't make sense (there must be a reason that the developer put the 
REQUIRED there).

Alex


More information about the CMake mailing list