From ff356b1f21e13b59e3e02f0938ab8a68e207c659 Mon Sep 17 00:00:00 2001 From: Mikhail Titov Date: Wed, 25 Nov 2015 17:42:44 -0600 Subject: [PATCH] Use assembly language when building zlib for MSVC++ --- build/CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/build/CMakeLists.txt b/build/CMakeLists.txt index 1a378cbf..5cd3b55d 100644 --- a/build/CMakeLists.txt +++ b/build/CMakeLists.txt @@ -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= + -DAMD64=ON -DASM686=ON "-DCMAKE_ASM_MASM_FLAGS=/W0 /safeseh" ) if (WITH_PCH) add_dependencies( stdafx zlib-project )