From 75eafeb44c4ddbc2b01e2e6a5d7d76c2465e2d16 Mon Sep 17 00:00:00 2001 From: Carles Fernandez Date: Thu, 29 Jul 2021 22:24:48 +0200 Subject: [PATCH] Report MacOS architecture --- cmake/Modules/DetectMacOSVersion.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmake/Modules/DetectMacOSVersion.cmake b/cmake/Modules/DetectMacOSVersion.cmake index f5c4988d9..ac986ba6d 100644 --- a/cmake/Modules/DetectMacOSVersion.cmake +++ b/cmake/Modules/DetectMacOSVersion.cmake @@ -15,7 +15,7 @@ if(${DARWIN_VERSION} VERSION_GREATER "19") string(REGEX REPLACE ".$" "" macOS_NAME ${macOS_NAME}) execute_process(COMMAND sw_vers -productVersion OUTPUT_VARIABLE macOS_VERSION) string(REGEX REPLACE "\n$" "" macOS_VERSION ${macOS_VERSION}) - set(MACOS_DISTRIBUTION "macOS ${macOS_NAME} ${macOS_VERSION}") + set(MACOS_DISTRIBUTION "macOS ${macOS_NAME} ${macOS_VERSION} (${CMAKE_SYSTEM_PROCESSOR})") endif() endif()