From 1bbff12c87de49ae832fbb415f7b6ab190624ee4 Mon Sep 17 00:00:00 2001 From: Steveice10 <1269164+Steveice10@users.noreply.github.com> Date: Wed, 24 Jan 2024 23:08:11 -0800 Subject: [PATCH] build: fix compiling for ARM with MSVC but not Visual Studio generator --- cryptopp/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cryptopp/CMakeLists.txt b/cryptopp/CMakeLists.txt index 8f09caf..3496b72 100644 --- a/cryptopp/CMakeLists.txt +++ b/cryptopp/CMakeLists.txt @@ -1241,7 +1241,7 @@ set_source_files_properties( # Compiler: MSVC # ------------------------------------------------------------------------------ if(MSVC AND NOT CRYPTOPP_DISABLE_ASM) - if(${CMAKE_GENERATOR_PLATFORM} MATCHES "ARM") + if(${CMAKE_GENERATOR_PLATFORM} MATCHES "ARM" OR CRYPTOPP_ARM32 OR CRYPTOPP_ARMV8) message( STATUS "[cryptopp] Disabling ASM because ARM is specified as target platform."