From c6f8ca2bc6b5bd8ca8842326f74e0cff007766ad Mon Sep 17 00:00:00 2001 From: Stephan Vedder Date: Wed, 15 May 2019 22:50:01 +0200 Subject: Enable masm compilation under windows --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'CMakeLists.txt') diff --git a/CMakeLists.txt b/CMakeLists.txt index a6a7554..af287a4 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -289,7 +289,7 @@ if(ENABLE_ASM) endif() elseif(APPLE AND "${CMAKE_SYSTEM_PROCESSOR}" STREQUAL "x86_64") set(HOST_ASM_MACOSX_X86_64 true) - elseif(MSVC AND "${CMAKE_GENERATOR}" MATCHES "Win64" AND FALSE) + elseif(MSVC AND "${CMAKE_SYSTEM_PROCESSOR}" MATCHES "AMD64") # XXX Disabled for now, CMake's MASM support seems to either never # build supply ASM or build it with the C compiler in a mode where it # does not parse correctly. It might be easier to get NASM support working. -- cgit v1.2.3-55-g6feb