Help: Fix signature of add_library(<name> INTERFACE EXCLUDE_FROM_ALL)
This signature was added by !5078 (merged) with incorrect documentation.
Previously the documented signature as:
add_library(<name> INTERFACE [<source>...] [EXCLUDE_FROM_ALL])
which is incorrect. CMake would recognize EXCLUDE_FROM_ALL
as a source
file and report an error that it doesn't exists.
The correct signature is:
add_library(<name> INTERFACE [EXCLUDE_FROM_ALL] [<source>...])
which places EXCLUDE_FROM_ALL
in the same position used by the
documentation of other signatures.
Fixes: #25463 (closed)
Edited by Brad King