3.23.0-rc1: Segmentation fault on missing FILE_SET
I have a build of the current main branch of CMake (dea324f8) on a RHEL 7 machine.
I was playing around with the new FILE_SET
feature for target_sources
and typed this up:
target_sources(sometarget
PUBLIC
TYPE HEADERS
FILES /absolute/path/to/some/file.h
)
Note the use of TYPE
and other FILE_SET
features without specifying a FILE_SET
. This causes a segmentation fault.
The FILE_SET
feature seems to work as intended otherwise.
Edited by Brad King