Files
CMake/Tests/RunCMake/GenEx-LINK_LIBRARY/override-features5.cmake
T
Marc Chevrier 2a6b0415d7 $<LINK_LIBRARY>: Add LINK_LIBRARY_OVERRIDE target property
To enable the management of incompatible $<LINK_LIBRARY> declarations,
add LINK_LIBRARY_OVERRIDE and LINK_LIBRARY_OVERRIDE_<LIBRARY> target
properties.
2022-02-08 11:41:04 +01:00

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)