CMake/Tests/RunCMake/CMP0028/CMP0028-WARN-iface.cmake

6 lines
147 B
CMake
Raw Normal View History

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