8 lines
178 B
CMake
8 lines
178 B
CMake
|
|
||
|
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)
|