mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-25 23:37:49 +08:00
7 lines
417 B
CMake
7 lines
417 B
CMake
|
file(READ "${CMAKE_CURRENT_LIST_DIR}/../unofficial-libgit2/usage" usage)
|
||
|
message(WARNING "find_package(unofficial-git2) is deprecated.\n${usage}")
|
||
|
include(CMakeFindDependencyMacro)
|
||
|
find_dependency(unofficial-libgit2 CONFIG)
|
||
|
add_library(unofficial::git2::libgit2package INTERFACE IMPORTED)
|
||
|
set_target_properties(unofficial::git2::libgit2package PROPERTIES INTERFACE_LINK_LIBRARIES unofficial::libgit2::libgit2package)
|