mirror of
https://github.com/Kitware/CMake.git
synced 2026-05-08 07:10:12 -05:00
2a6b0415d7
To enable the management of incompatible $<LINK_LIBRARY> declarations, add LINK_LIBRARY_OVERRIDE and LINK_LIBRARY_OVERRIDE_<LIBRARY> target properties.
8 lines
235 B
CMake
8 lines
235 B
CMake
|
|
include(incompatible-features1.cmake)
|
|
|
|
|
|
set_property(TARGET lib PROPERTY LINK_LIBRARY_OVERRIDE "feat1,dep1")
|
|
# next property will be ignored because no feature is specified
|
|
set_property(TARGET lib PROPERTY LINK_LIBRARY_OVERRIDE_dep1)
|