mirror of
https://github.com/Kitware/CMake.git
synced 2026-04-23 14:48:19 -05:00
913ea78d7a
Refines check for properties supporting these genex. Enhance error message. Fixes: #23699
11 lines
325 B
CMake
11 lines
325 B
CMake
enable_language(C)
|
|
|
|
set (CMAKE_LINK_LIBRARY_USING_feat "<LIBRARY>")
|
|
set (CMAKE_LINK_LIBRARY_USING_feat_SUPPORTED TRUE)
|
|
|
|
add_library(dep SHARED empty.c)
|
|
set_property(TARGET dep PROPERTY INTERFACE_LINK_LIBRARIES_DIRECT_EXCLUDE "$<LINK_LIBRARY:feat,dep>")
|
|
|
|
add_library(lib SHARED empty.c)
|
|
target_link_libraries(lib PRIVATE dep)
|