Skip to content

Commit

Permalink
libgit2: depends on libssh2 on windows, too
Browse files Browse the repository at this point in the history
now that it uses xpFindPkg() and cmake options aren't passed in, Windows
also depends on libssh2 (and it's dependencies)

issue #356
  • Loading branch information
Scott M Anderson committed Sep 6, 2022
1 parent 86ae546 commit ec64d1c
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions projects/libgit2.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -27,11 +27,7 @@ function(build_libgit2)
if(NOT (XP_DEFAULT OR XP_PRO_LIBGIT2))
return()
endif()
if(WIN32)
set(depTgts)
else()
xpBuildDeps(depTgts ${PRO_LIBGIT2})
endif()
xpBuildDeps(depTgts ${PRO_LIBGIT2})
xpGetArgValue(${PRO_LIBGIT2} ARG NAME VALUE NAME)
xpGetArgValue(${PRO_LIBGIT2} ARG VER VALUE VER)
set(XP_CONFIGURE
Expand Down

0 comments on commit ec64d1c

Please sign in to comment.