mirror of
https://github.com/Kitware/CMake.git
synced 2026-05-08 07:10:12 -05:00
c8ccd5a9e3
Add Common Package Specification support to export(EXPORT).
4 lines
112 B
CMake
4 lines
112 B
CMake
add_library(foo INTERFACE)
|
|
install(TARGETS foo EXPORT foo DESTINATION .)
|
|
export(EXPORT foo PACKAGE_INFO "%foo")
|