mirror of
https://github.com/Kitware/CMake.git
synced 2026-01-07 14:20:06 -06:00
The feature needs a specialized implementation to place headers in the right place inside frameworks. To avoid silently doing the wrong thing, make this case an error for the 3.23 series. Issue: #23386
8 lines
199 B
CMake
8 lines
199 B
CMake
enable_language(C)
|
|
|
|
add_library(lib1 SHARED lib1.c)
|
|
set_property(TARGET lib1 PROPERTY FRAMEWORK ON)
|
|
target_sources(lib1
|
|
PUBLIC FILE_SET HEADERS BASE_DIRS ${CMAKE_CURRENT_SOURCE_DIR} FILES h1.h
|
|
)
|