mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-01-11 17:37:53 +00:00
Use assembly language when building zlib for MSVC++
This commit is contained in:
parent
b2a6c1bc68
commit
ff356b1f21
@ -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 )
|
||||
|
Loading…
Reference in New Issue
Block a user