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

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