diff options
author | Alex Neundorf <neundorf@kde.org> | 2023-06-28 22:02:29 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2023-07-05 11:54:50 (GMT) |
commit | d85238a2f29c552041293f1f7e64e3de55e55907 (patch) | |
tree | e8fc8b19282ac0f872feef4d4aa32daa30ddc6e0 /Tests/FindALSA | |
parent | 8086ce2706dcbbea5d9ead0222666f2004826c53 (diff) | |
download | CMake-d85238a2f29c552041293f1f7e64e3de55e55907.zip CMake-d85238a2f29c552041293f1f7e64e3de55e55907.tar.gz CMake-d85238a2f29c552041293f1f7e64e3de55e55907.tar.bz2 |
source_group: Fix TREE without FILES
According to the documentation of `source_group()` the `FILES`
parameter is optional, but that was actually not the case.
When using `source_group(TREE ${CMAKE_CURRENT_SOURCE_DIR})`
cmake did not previously create the source tree, but recognized
it as the old syntax. With this patch, cmake recognizes it as
`TREE` syntax if the first argument is TREE followed by a directory.
Then, if no files are given, it defaults to all files in the
directory. PREFIX works too.
Fixes: #24590
Diffstat (limited to 'Tests/FindALSA')
0 files changed, 0 insertions, 0 deletions