[CMake] How to use FindPackageHandleStandardArgs

Denis Scherbakov denis_scherbakov at yahoo.com
Thu May 14 08:29:06 EDT 2009


> What's the best way to proceed. Should I collect the names
> of variables
> used in the find_library() calls in a separate list
> variable and use
> that for find_package_handle_standard_args(), or should I
> just handle
> the REQUIRED and QUIET stuff myself in this case. Any
> recommendations?

Marcel,

In one list variable I would collect only names for REQUIRED libraries.
In other list variable I would collect names of all libraries to MARK_AS_ADVANCED them.

Denis


      


More information about the CMake mailing list