mirror of
https://github.com/Kitware/CMake.git
synced 2026-01-07 14:20:06 -06:00
`FILE_SET` is only supported within `target_sources()` and only directly after a visibility keyword or another `FILE_SET`. Give a hint as to what might be wrong if a file named `FILE_SET` cannot be found for any reason. Fixes: #24539
4 lines
80 B
CMake
4 lines
80 B
CMake
enable_language(C)
|
|
|
|
add_library(lib1 STATIC empty.c FILE_SET h1.h TYPE HEADERS)
|