summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/Languages/link-libraries-TARGET_FILE-genex-ok.cmake
blob: f0fd6e5aaa40aa8ec0a229b37d025563931bd4d9 (plain)
1
2
3
4
5
6

enable_language(CXX)

add_library(foo SHARED empty.cpp)
add_library(bar SHARED empty.cpp)
target_link_libraries(foo $<$<STREQUAL:$<TARGET_FILE:bar>,anything>:bar>)