summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/alias_targets/target_link_libraries.cmake
blob: b7b9e60185b1479c4412cd3358afc7a8dfd394e5 (plain)
1
2
3
4
5
6
7
8
9

enable_language(CXX)

add_library(foo empty.cpp)
add_library(bar empty.cpp)

add_library(alias ALIAS foo)

target_link_libraries(alias bar)