mirror of
https://github.com/Kitware/CMake.git
synced 2026-04-26 00:00:39 -05:00
a20e9569f1
Fixes: #27249
7 lines
228 B
CMake
7 lines
228 B
CMake
add_library(foo INTERFACE)
|
|
|
|
install(TARGETS foo EXPORT foo DESTINATION .)
|
|
install(PACKAGE_INFO foo DESTINATION cps EXPORT foo COMPONENT cps)
|
|
get_cmake_property(components COMPONENTS)
|
|
message(STATUS "COMPONENTS='${components}'")
|