summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/CMP0028/CMP0028-NEW-iface.cmake
blob: 1a71433065a1176036c8fb7436ad08f0a86bf246 (plain)
1
2
3
4
5
6
7

cmake_policy(SET CMP0028 NEW)

add_library(iface INTERFACE)
target_link_libraries(iface INTERFACE External::Library)
add_library(foo empty.cpp)
target_link_libraries(foo iface)