CMake/Tests/RunCMake/target_link_libraries/CMP0023-WARN-2.cmake

10 lines
220 B
CMake
Raw Normal View History

project(CMP0022-WARN)
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 LINK_PRIVATE bat)