mirror of
https://github.com/Kitware/CMake.git
synced 2026-04-29 10:39:28 -05:00
37a25072ea
Generalize the test name to prepare for cases beyond CMP0028.
8 lines
178 B
CMake
8 lines
178 B
CMake
|
|
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)
|