mirror of
https://gitlab.kitware.com/cmake/cmake.git
synced 2026-09-26 04:09:35 +03:00
21 lines
359 B
CMake
21 lines
359 B
CMake
include(${CMAKE_CURRENT_LIST_DIR}/Setup.cmake)
|
|
|
|
include(CMakePackageConfigHelpers)
|
|
include(GNUInstallDirs)
|
|
|
|
add_library(interface INTERFACE)
|
|
|
|
find_package(
|
|
bar 1.3.4 REQUIRED
|
|
NO_DEFAULT_PATH
|
|
PATHS ${CMAKE_CURRENT_LIST_DIR}
|
|
)
|
|
|
|
target_link_libraries(interface INTERFACE bar::bar)
|
|
|
|
install(
|
|
TARGETS interface
|
|
EXPORT interface_targets
|
|
DESTINATION .
|
|
)
|