mirror of
https://github.com/Kitware/CMake.git
synced 2026-01-07 06:09:52 -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.
13 lines
295 B
CMake
13 lines
295 B
CMake
project(TestLibrary C)
|
|
|
|
set(CMAKE_PREFIX_PATH "${CMAKE_BINARY_DIR}/../install")
|
|
set(CMAKE_INSTALL_PREFIX "${CMAKE_BINARY_DIR}/../install")
|
|
|
|
find_package(libb REQUIRED COMPONENTS libb)
|
|
|
|
add_executable(app app.c)
|
|
|
|
target_link_libraries(app PUBLIC libb::libb)
|
|
|
|
install(TARGETS app DESTINATION bin)
|