aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorViktor Szakats <commit@vsz.me>2023-08-06 18:13:51 +0000
committerViktor Szakats <commit@vsz.me>2023-08-10 23:01:37 +0000
commit5c63ba97612e1430d049be0bb7b179db24936a28 (patch)
tree30d27e8d37fb3889a92afeaa638cd6f59d0f4fc4
parent6650dcecc69dba13054c31a7c4eba8402d99ab53 (diff)
downloadportable-5c63ba97612e1430d049be0bb7b179db24936a28.tar.gz
portable-5c63ba97612e1430d049be0bb7b179db24936a28.tar.bz2
portable-5c63ba97612e1430d049be0bb7b179db24936a28.zip
cmake: fix to use MINGW variable to detect MinGW
-rw-r--r--CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index c5b880b..690cd48 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -362,7 +362,7 @@ if(ENABLE_ASM)
362 elseif(MSVC AND ("${CMAKE_GENERATOR}" MATCHES "Win64" OR "${CMAKE_GENERATOR_PLATFORM}" STREQUAL "x64")) 362 elseif(MSVC AND ("${CMAKE_GENERATOR}" MATCHES "Win64" OR "${CMAKE_GENERATOR_PLATFORM}" STREQUAL "x64"))
363 set(HOST_ASM_MASM_X86_64 true) 363 set(HOST_ASM_MASM_X86_64 true)
364 ENABLE_LANGUAGE(ASM_MASM) 364 ENABLE_LANGUAGE(ASM_MASM)
365 elseif(CMAKE_SYSTEM_NAME MATCHES "MINGW" AND "${CMAKE_SYSTEM_PROCESSOR}" STREQUAL "x86_64") 365 elseif(MINGW AND "${CMAKE_SYSTEM_PROCESSOR}" STREQUAL "x86_64")
366 set(HOST_ASM_MINGW64_X86_64 true) 366 set(HOST_ASM_MINGW64_X86_64 true)
367 endif() 367 endif()
368endif() 368endif()