mirror of
https://gitlab.kitware.com/cmake/cmake.git
synced 2026-09-25 04:09:36 +03:00
A file should be unique for a target if specified as part of a file set. Issue: #27035
7 lines
151 B
CMake
7 lines
151 B
CMake
enable_language(C)
|
|
|
|
add_library(lib1 STATIC empty.c)
|
|
|
|
# files are silently de-duplicated
|
|
target_sources(lib1 PRIVATE FILE_SET HEADERS FILES h1.h h1.h)
|