diff options
| author | namniav <namniav@gmail.com> | 2023-12-03 20:25:25 (GMT) |
|---|---|---|
| committer | Brad King <brad.king@kitware.com> | 2023-12-04 15:37:01 (GMT) |
| commit | 7fc6d7247a0cf4aa2379dc4e44536d628612f8d4 (patch) | |
| tree | 2e555731be4a453ab274526359aab8f886cc09c5 /Tests/FindPython/Python | |
| parent | 714a9467818beef9a29688766e196a1f064de033 (diff) | |
| download | CMake-7fc6d7247a0cf4aa2379dc4e44536d628612f8d4.zip CMake-7fc6d7247a0cf4aa2379dc4e44536d628612f8d4.tar.gz CMake-7fc6d7247a0cf4aa2379dc4e44536d628612f8d4.tar.bz2 | |
Help: Fix signature of add_library(<name> INTERFACE EXCLUDE_FROM_ALL)
This signature was added by commit 4391913133 (Add INTERFACE libraries
to generated buildsystem if they have SOURCES, 2020-07-20,
v3.19.0-rc1~346^2~1) 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
Diffstat (limited to 'Tests/FindPython/Python')
0 files changed, 0 insertions, 0 deletions
