mirror of
https://github.com/Kitware/CMake.git
synced 2026-05-05 13:50:10 -05:00
9d83a1ed1f
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.
12 lines
255 B
CMake
12 lines
255 B
CMake
find_package(
|
|
broken REQUIRED CONFIG
|
|
NO_DEFAULT_PATH
|
|
PATHS ${CMAKE_CURRENT_LIST_DIR}
|
|
)
|
|
|
|
add_library(foo INTERFACE)
|
|
target_link_libraries(foo INTERFACE wrong::lib)
|
|
|
|
install(TARGETS foo EXPORT foo DESTINATION .)
|
|
install(PACKAGE_INFO foo EXPORT foo)
|