mirror of
https://github.com/Kitware/CMake.git
synced 2026-01-21 06:00:51 -06:00
In commit 5651901c54 (Xcode: add support for embedding frameworks,
2020-10-24, v3.20.0-rc1~402^2) we incorrectly reused `PBXBuildFile`
instances when the same framework is embedded in multiple targets,
causing target-specific settings to conflict.
Fixes: #26438
8 lines
189 B
CMake
8 lines
189 B
CMake
cmake_minimum_required(VERSION 3.30)
|
|
project(TestLib C)
|
|
add_library(TestLib SHARED TestLib.c TestLib.h)
|
|
set_target_properties(TestLib PROPERTIES
|
|
FRAMEWORK 1
|
|
PUBLIC_HEADER TestLib.h
|
|
)
|