forked from lthn/blockchain
Add status message for OS and architecture detection in GetConan.cmake
This commit is contained in:
parent
5efd4b0e6b
commit
5acd82799d
1 changed files with 1 additions and 0 deletions
|
|
@ -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})
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue