summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/Languages/LINK_LANGUAGE-genex.cmake
blob: 64f394c116580e39383cf1399433e31e6594878f (plain)
1
2
3
4

add_library(foo STATIC empty.cpp)
add_library(bar STATIC empty.cpp)
target_link_libraries(foo $<$<STREQUAL:$<TARGET_PROPERTY:LINKER_LANGUAGE>,anything>:bar>)