mirror of
https://github.com/Kitware/CMake.git
synced 2026-04-28 01:49:23 -05:00
c8ccd5a9e3
Add Common Package Specification support to export(EXPORT).
4 lines
113 B
CMake
4 lines
113 B
CMake
add_library(foo INTERFACE)
|
|
install(TARGETS foo EXPORT foo DESTINATION .)
|
|
install(PACKAGE_INFO "%foo" EXPORT foo)
|