mirror of
https://github.com/Kitware/CMake.git
synced 2026-01-05 05:11:15 -06:00
17 lines
280 B
CMake
17 lines
280 B
CMake
add_library(foo INTERFACE)
|
|
install(TARGETS foo EXPORT foo DESTINATION .)
|
|
|
|
export(EXPORT foo
|
|
PACKAGE_INFO foo1
|
|
VERSION 1.0)
|
|
|
|
export(EXPORT foo
|
|
PACKAGE_INFO foo2
|
|
VERSION 1.5
|
|
COMPAT_VERSION 1.0)
|
|
|
|
export(EXPORT foo
|
|
PACKAGE_INFO foo3
|
|
VERSION 1.0
|
|
VERSION_SCHEMA simple)
|