Skip to content

Commit

Permalink
no ref to zlib in cmake
Browse files Browse the repository at this point in the history
  • Loading branch information
xurei committed Oct 9, 2023
1 parent b6f547d commit ab65be9
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 8 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -246,12 +246,12 @@ jobs:
vcpkgGitCommitId: f93ba152d55e1d243160e690bc302ffe8638358e
vcpkgTriplet: x64-windows
vcpkgArguments: zlib libzip
# - name: Publish deps
# if: success()
# uses: actions/[email protected]
# with:
# name: 'deps'
# path: vcpkg/*
- name: Publish deps
if: success()
uses: actions/[email protected]
with:
name: 'deps'
path: vcpkg/installed/*
# - name: Build libzip
# shell: cmd
# run: |
Expand Down
3 changes: 1 addition & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -63,9 +63,8 @@ if(OS_WINDOWS)
target_link_libraries(${PROJECT_NAME}
${LIBZIP_LIBRARY}
)
# set(ZLIB_USE_STATIC_LIBS ON)
find_package(ZLIB REQUIRED)
target_link_libraries(${PROJECT_NAME} ${ZLIB_LIBRARIES})
include_directories(${ZLIB_INCLUDE_DIRS})

message(${ZLIB_INCLUDE_DIRS})
message(${ZLIB_LIBRARIES})
Expand Down

0 comments on commit ab65be9

Please sign in to comment.