summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/CMP0022/CMP0022-WARN-tll.cmake
blob: 11b4e22a99ba7ab80751e411b9384f7c1d9f4f95 (plain)
1
2
3
4
5
6
7
8
9
10
11

project(CMP0022-WARN-tll)

add_library(foo SHARED empty_vs6_1.cpp)
add_library(bar SHARED empty_vs6_2.cpp)
add_library(bat SHARED empty_vs6_3.cpp)
target_link_libraries(bar LINK_PUBLIC foo)
set_property(TARGET bar PROPERTY LINK_INTERFACE_LIBRARIES bat)

add_library(user SHARED empty.cpp)
target_link_libraries(user bar)