Skip to content

Commit

Permalink
Use 7-zip 18.05 on windows
Browse files Browse the repository at this point in the history
  • Loading branch information
fasterthanlime committed May 2, 2018
1 parent eb31dfe commit 2c545a7
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ set(UPSTREAM_DIR ${CMAKE_BINARY_DIR}/upstream-7zip-src)
set(UPSTREAM_INCLUDE_DIR ${UPSTREAM_DIR})

if (${CMAKE_SYSTEM_NAME} STREQUAL "Windows")
set(UPSTREAM_SRC_URL http://www.7-zip.org/a/7z1604-src.7z)
set(UPSTREAM_SRC_URL http://www.7-zip.org/a/7z1805-src.7z)
set(UPSTREAM_PATCH_CMD dos2unix ${PATCH_DIR}/001_avoid_duplicate_guids.patch COMMAND patch --ignore-whitespace --strip 1 < ${PATCH_DIR}/001_avoid_duplicate_guids.patch COMMAND unix2dos ${UPSTREAM_DIR}/CPP/Windows/FileIO.h)
else() # Windows
set(UPSTREAM_SRC_URL https://downloads.sourceforge.net/project/p7zip/p7zip/16.02/p7zip_16.02_src_all.tar.bz2)
Expand Down
2 changes: 2 additions & 0 deletions Lib7Zip/7ZipFormatInfo.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@
#include "CPP/include_windows/windows.h"
#endif

#include "CPP/Common/Common.h"

#include "C/7zVersion.h"
#include "CPP/7zip/Archive/IArchive.h"
#include "CPP/Windows/PropVariant.h"
Expand Down

0 comments on commit 2c545a7

Please sign in to comment.