1
0
mirror of https://github.com/PurpleI2P/i2pd.git synced 2025-01-11 13:27:52 +00:00

Use assembly language when building zlib for MSVC++

This commit is contained in:
Mikhail Titov 2015-11-25 17:42:44 -06:00
parent b2a6c1bc68
commit ff356b1f21

View File

@ -240,6 +240,7 @@ if (NOT ZLIB_FOUND )
URL http://zlib.net/zlib-1.2.8.tar.gz
PREFIX ${CMAKE_CURRENT_BINARY_DIR}/zlib
CMAKE_ARGS -DCMAKE_INSTALL_PREFIX:PATH=<INSTALL_DIR>
-DAMD64=ON -DASM686=ON "-DCMAKE_ASM_MASM_FLAGS=/W0 /safeseh"
)
if (WITH_PCH)
add_dependencies( stdafx zlib-project )