From 958580d91d359f048afb294bd290beaa04a5f2fc Mon Sep 17 00:00:00 2001 From: snider Date: Mon, 6 Oct 2025 18:22:26 +0100 Subject: [PATCH] Improve processor detection logic in GetConan.cmake by using cmake_host_system_information --- cmake/GetConan.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmake/GetConan.cmake b/cmake/GetConan.cmake index 37bf7d1d..fb6e8666 100644 --- a/cmake/GetConan.cmake +++ b/cmake/GetConan.cmake @@ -34,7 +34,7 @@ if(NOT EXISTS "${CONAN_EXECUTABLE}") if(CMAKE_HOST_SYSTEM_PROCESSOR) set(HOST_PROCESSOR ${CMAKE_HOST_SYSTEM_PROCESSOR}) else() - set(HOST_PROCESSOR ${CMAKE_SYSTEM_PROCESSOR}) + cmake_host_system_information(RESULT HOST_PROCESSOR QUERY OS_PLATFORM) endif() # Detect the operating system and architecture