mirror of
https://github.com/Kitware/CMake.git
synced 2026-04-26 00:00:39 -05:00
c8ccd5a9e3
Add Common Package Specification support to export(EXPORT).
5 lines
145 B
CMake
5 lines
145 B
CMake
add_library(foo INTERFACE)
|
|
install(TARGETS foo EXPORT foo DESTINATION .)
|
|
export(EXPORT foo PACKAGE_INFO foo)
|
|
export(EXPORT foo PACKAGE_INFO foo)
|