summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/target_link_libraries/Separate-PRIVATE-LINK_PRIVATE-uses.cmake
blob: e32891d6dd6899862c6753fac42aac089e96c0ac (plain)
1
2
3
4
5
6
7
8
9

enable_language(CXX)

add_library(foo empty_vs6_1.cpp)
add_library(bar empty_vs6_2.cpp)
add_library(bat empty_vs6_3.cpp)

target_link_libraries(foo LINK_PRIVATE bar)
target_link_libraries(foo PRIVATE bat)