[CMake] find_package components required or not
Lars Lars
laasunde at hotmail.com
Thu Aug 15 04:21:04 EDT 2013
Hello,
The find_package macro provides the keywords "REQUIRED" and "COMPONENTS".
The docs state: "The REQUIRED option stops processing with an error message if the package cannot be found. A package-specific list of components may be listed after the REQUIRED option or after the COMPONENTS option if no REQUIRED option is given."
When using find_package and the "REQUIRED" keyword, are all components required?
When using find_package and the "COMPONENTS" keywords, are all components required?
It would be nice if the docs could state this information.
regards,
Lars
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.cmake.org/pipermail/cmake/attachments/20130815/721f6258/attachment.htm>
More information about the CMake
mailing list