[CMake] Printing "Found <package>..." message in config mode

Hendrik Sattler post at hendrik-sattler.de
Tue Aug 14 18:36:48 EDT 2018



Am 14. August 2018 22:08:36 MESZ schrieb "Sebastián Mancilla" <smancill at jlab.org>:
>Normally, find modules call FIND_PACKAGE_HANDLE_STANDARD_ARGS, which in
>turn calls FIND_PACKAGE_MESSAGE, to print a nice message about the
>location
>and version of the dependency.

You can do that with FIND_PACKAGE_HANDLE_STANDARD_ARGS, just use module name and CONFIG_MODE as arguments.

HS


More information about the CMake mailing list