Skip to content

Commit

Permalink
use included zlib
Browse files Browse the repository at this point in the history
  • Loading branch information
Murmele committed May 1, 2022
1 parent 3c1b0e2 commit 3017195
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -246,7 +246,7 @@ jobs:
run: |
mkdir -p build/release
cd build/release
cmake -G Ninja -DDEPRECATE_HARD:BOOL=ON -DCMAKE_BUILD_TYPE=Release ${{ env.CMAKE_FLAGS }} ${{ matrix.env.cmake_flags }} ../..
cmake -G Ninja -DDEPRECATE_HARD:BOOL=ON -DUSE_BUNDLED_ZLIB:BOOL=ON -DCMAKE_BUILD_TYPE=Release ${{ env.CMAKE_FLAGS }} ${{ matrix.env.cmake_flags }} ../..
- name: Build Information
run: |
Expand Down
2 changes: 2 additions & 0 deletions dep/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@ find_package(PkgConfig)
add_subdirectory(openssl)
add_subdirectory(libssh2)
add_subdirectory(libgit2)
# otherwise the zlib is not available in the src/git
set(LIBGIT2_DEPENDENCY_OBJECTS ${LIBGIT2_DEPENDENCY_OBJECTS} PARENT_SCOPE)

add_subdirectory(cmark)
add_subdirectory(lua)
Expand Down
2 changes: 2 additions & 0 deletions dep/libgit2/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -33,3 +33,5 @@ if(WIN32)
endif()

add_subdirectory(libgit2)
# otherwise the zlib is not available in the src/git
set(LIBGIT2_DEPENDENCY_OBJECTS ${LIBGIT2_DEPENDENCY_OBJECTS} PARENT_SCOPE)
2 changes: 1 addition & 1 deletion dep/libgit2/libgit2
Submodule libgit2 updated 1 files
+1 −1 src/libgit2/remote.c
1 change: 1 addition & 0 deletions src/git/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ add_library(

target_link_libraries(git
libgit2
${LIBGIT2_DEPENDENCY_OBJECTS}
Qt5::Core
Qt5::Network
)
Expand Down

0 comments on commit 3017195

Please sign in to comment.