From 1e27007559674b6d533fcc7f6bb94dfbb823dd27 Mon Sep 17 00:00:00 2001 From: John-Mark Gurney Date: Sun, 11 Sep 2022 11:27:10 -0700 Subject: [PATCH] amd64 is the arch name on FreeBSD.. --- src/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index c9ede56..2a156f2 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -42,7 +42,7 @@ if(MSVC)# On MSVC Windows, Processor is always AMD64 on both platforms (x86/x64) else() set(MSVC_ARCH ${CMAKE_SYSTEM_PROCESSOR})# just to have a value endif() -if(${CMAKE_SYSTEM_PROCESSOR} MATCHES "x86_64" AND NOT MSVC)#Decaf doesn't support 64bits on MSVC yet +if((${CMAKE_SYSTEM_PROCESSOR} MATCHES "x86_64" OR ${CMAKE_SYSTEM_PROCESSOR} MATCHES "amd64") AND NOT MSVC)#Decaf doesn't support 64bits on MSVC yet message("Target architecture is x86_64") set(TARGET_ARCH_DIR arch_x86_64) set(TARGET_ARCH_DIR_P25519 arch_x86_64)