CMake/Tests/RunCMake/interface_library/add_dependencies.cmake

5 lines
85 B
CMake
Raw Normal View History

add_library(foo empty.cpp)
add_library(iface INTERFACE)
add_dependencies(iface foo)