From d95cae19fc1e72d224b28637a8e77bce5bb866d6 Mon Sep 17 00:00:00 2001 From: rhcher <2032877541@qq.com> Date: Sat, 4 Jun 2022 23:24:13 +0800 Subject: [PATCH] Fix build on Windows --- src/crispy/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/crispy/CMakeLists.txt b/src/crispy/CMakeLists.txt index e8f8bb33d9..91fef599b2 100644 --- a/src/crispy/CMakeLists.txt +++ b/src/crispy/CMakeLists.txt @@ -41,7 +41,7 @@ else() list(APPEND CRISPY_CORE_LIBS ${FILESYSTEM_LIBS}) endif() -if(CMAKE_SYSTEM_PROCESSOR STREQUAL x86_64 OR CMAKE_SYSTEM_PROCESSOR STREQUAL amd64) +if(CMAKE_SYSTEM_PROCESSOR STREQUAL x86_64 OR CMAKE_SYSTEM_PROCESSOR STREQUAL amd64 OR CMAKE_SYSTEM_PROCESSOR STREQUAL AMD64) target_compile_options(crispy-core PUBLIC -maes) elseif(CMAKE_SYSTEM_PROCESSOR STREQUAL aarch64) # ARM64 target_compile_options(crispy-core PUBLIC -march=armv8-a+fp+simd+crypto+crc)