summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/target_link_libraries/CMP0023-NEW.cmake
blob: f0aa63fbd41db84d71eec6c1d8c9984fb62f8978 (plain)
1
2
3
4
5
6
7
8
9
10
11

project(CMP0022-WARN)

cmake_policy(SET CMP0023 NEW)

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(foo bar)
target_link_libraries(foo PRIVATE bat)