1
0
Fork 0
forked from lthn/blockchain

Add status message for OS and architecture detection in GetConan.cmake

This commit is contained in:
snider 2025-10-06 17:17:56 +01:00
parent 5efd4b0e6b
commit 5acd82799d

View file

@ -31,6 +31,7 @@ if(NOT EXISTS "${CONAN_EXECUTABLE}")
file(MAKE_DIRECTORY "${CONAN_INSTALL_DIR}")
# Detect the operating system and architecture
message(STATUS "Detecting OS and architecture: ${CMAKE_HOST_SYSTEM_PROCESSOR} on ${CMAKE_HOST_SYSTEM_NAME}")
if(CMAKE_HOST_SYSTEM_NAME STREQUAL "Darwin")
if(CMAKE_HOST_SYSTEM_PROCESSOR MATCHES "arm64")
set(CONAN_URL ${CONAN_URL_MACOS_ARM})