[zlib] Enable ASM optimizations on i386 and amd64.
authorDavid Korth <gerbilsoft@gerbilsoft.com>
Wed, 2 Sep 2015 04:52:21 +0000 (00:52 -0400)
committerDavid Korth <gerbilsoft@gerbilsoft.com>
Wed, 2 Sep 2015 04:52:21 +0000 (00:52 -0400)
commitbe906073cb031a9f2d3ed42c49a5552675ea23a1
tree588e455f77a3087a576a236f8a2285ba182c26e8
parent4b9b334a5f29589fb722952ecb038564fae374df
[zlib] Enable ASM optimizations on i386 and amd64.

set_source_files_properties(): Set COMPILE_FLAGS to "". Leaving out the
flags parameter entirely caused a CMake error:

CMake Error at extlib/zlib/CMakeLists.txt:152 (set_source_files_properties):
  set_source_files_properties called with incorrect number of arguments.

MSVC assembler: Explicilty set the language of the asm files as ASM_MASM.
For some reason, CMake is assuming that all .asm files are ASM_NASM,
which prevented these files from being assembled correctly.
extlib/CMakeLists.txt
extlib/zlib/CMakeLists.txt