forked from lthn/blockchain
Improve processor detection logic in GetConan.cmake by using cmake_host_system_information
This commit is contained in:
parent
eacc0a9f1c
commit
958580d91d
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue