summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/GenEx-LINK_GROUP/invalid-property.cmake
blob: 549f4c148a67aeb59428ea0fcd091f2570039969 (plain)
1
2
3
4
5
6
7
8
9
10
enable_language(C)

set (CMAKE_LINK_GROUP_USING_feat "--prefix" "--suffix")
set (CMAKE_LINK_GROUP_USING_feat_SUPPORTED TRUE)

add_library(dep SHARED empty.c)
set_property(TARGET dep PROPERTY INTERFACE_LINK_LIBRARIES_DIRECT_EXCLUDE "$<LINK_GROUP:feat,dep>")

add_library(lib SHARED empty.c)
target_link_libraries(lib PRIVATE dep)