diff options
| author | Oskari Timperi <oswjk@users.noreply.github.com> | 2020-09-04 15:12:25 +0300 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-09-04 15:12:25 +0300 |
| commit | b6cd5996b636ae7e0e4fb28e1a6e52d9ce9bbf00 (patch) | |
| tree | 8f0788aac585632d3d318e54d231530a2e8342f2 /fix-zstd.patch | |
| download | vcpkg-minizip-fork-master.tar.gz vcpkg-minizip-fork-master.zip | |
Diffstat (limited to 'fix-zstd.patch')
| -rw-r--r-- | fix-zstd.patch | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/fix-zstd.patch b/fix-zstd.patch new file mode 100644 index 0000000..9d9fd72 --- /dev/null +++ b/fix-zstd.patch @@ -0,0 +1,13 @@ +diff --git a/CMakeLists.txt b/CMakeLists.txt +index a6deb4c..e1a2584 100644 +--- a/CMakeLists.txt ++++ b/CMakeLists.txt +@@ -732,7 +732,7 @@ if(MZ_ZLIB AND NOT MZ_LIBCOMP) + endif() + if(MZ_ZSTD) + if(ZSTD_FOUND) +- target_link_libraries(${PROJECT_NAME} ${ZSTD_LIBRARIES}) ++ target_link_libraries(${PROJECT_NAME} libzstd) + else() + # Have to add zlib to install targets + if(NOT DEFINED BUILD_SHARED_LIBS OR NOT ${BUILD_SHARED_LIBS}) |
