find_package-optional-is-quieterΒΆ
When the
find_package()command was given theOPTIONALoption, and no Find Module is available (or if Module mode has been explicitly disabled with aCONFIGorNO_MODULEoption), CMake would report a status message if no candidate package configuration files are found, but would not report anything if any unsuitable package configuration files are found. TheOPTIONALoption now suppresses status messages in both instances.