mirror of
https://gitlab.kitware.com/cmake/cmake.git
synced 2026-09-25 04:09:36 +03:00
The SOURCES file set type is compatible with the FRAMEWORK target. Add check at generation time. Fixes: #27705
8 lines
156 B
CMake
8 lines
156 B
CMake
enable_language(C)
|
|
|
|
add_library(lib1 SHARED)
|
|
target_sources(lib1
|
|
PUBLIC FILE_SET SOURCES FILES lib1.c
|
|
)
|
|
set_property(TARGET lib1 PROPERTY FRAMEWORK ON)
|