mirror of
https://github.com/Kitware/CMake.git
synced 2026-04-27 09:29:15 -05:00
abfc07f91f
Issue: #27249
9 lines
225 B
CMake
9 lines
225 B
CMake
add_library(foo INTERFACE)
|
|
install(TARGETS foo EXPORT fooExport)
|
|
install(EXPORT fooExport
|
|
DESTINATION "share/cmake"
|
|
COMPONENT "bar"
|
|
)
|
|
get_cmake_property(components COMPONENTS)
|
|
message(STATUS "COMPONENTS='${components}'")
|