Skip to content

Commit

Permalink
feat: Update to [email protected] for git_clone_options
Browse files Browse the repository at this point in the history
  • Loading branch information
shdwmtr committed Jul 17, 2024
1 parent e01df77 commit 6feced6
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
5 changes: 3 additions & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,8 @@ add_compile_definitions(
)

find_package(cpr CONFIG REQUIRED) # used for web requests.
find_package(unofficial-git2 CONFIG REQUIRED) # used for updating git modules
find_package(PkgConfig REQUIRED)
pkg_check_modules(LIBGIT2 REQUIRED IMPORTED_TARGET libgit2) # used for updating git modules
find_package(minizip CONFIG REQUIRED) # used for extracting zip files

include_directories(${LIBGIT2_INCLUDE_DIRS})
Expand Down Expand Up @@ -128,7 +129,7 @@ endif()
target_link_libraries(Millennium
Boxer
cpr::cpr
unofficial::git2::git2
PkgConfig::LIBGIT2
minizip::minizip
)

Expand Down
6 changes: 6 additions & 0 deletions vcpkg.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,11 @@
"libgit2",
"cpr",
"minizip"
],
"overrides": [
{
"name": "libgit2",
"version": "1.8.0"
}
]
}

0 comments on commit 6feced6

Please sign in to comment.