mirror of
https://github.com/Kitware/CMake.git
synced 2026-01-24 15:38:54 -06:00
Rename the RunCMake/PackageInfo and RunCMake/CpsExportImport tests to indicate that they cover CPS generated by the install command. This opens space for similar tests that will cover CPS generation via the export command.
20 lines
337 B
CMake
20 lines
337 B
CMake
add_library(foo INTERFACE)
|
|
install(TARGETS foo EXPORT foo DESTINATION .)
|
|
|
|
install(PACKAGE_INFO foo1
|
|
EXPORT foo
|
|
VERSION 1.0
|
|
DESTINATION cps)
|
|
|
|
install(PACKAGE_INFO foo2
|
|
EXPORT foo
|
|
VERSION 1.5
|
|
COMPAT_VERSION 1.0
|
|
DESTINATION cps)
|
|
|
|
install(PACKAGE_INFO foo3
|
|
EXPORT foo
|
|
VERSION 1.0
|
|
VERSION_SCHEMA simple
|
|
DESTINATION cps)
|