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

cmake_policy(SET CMP0028 OLD)

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