mirror of
https://github.com/dashpay/dash.git
synced 2024-12-24 19:42:46 +01:00
build: adjust cmake file for auto settings depends folder on m1 systems (#4669)
This commit is contained in:
parent
ac1346278c
commit
4f3c2492eb
@ -20,7 +20,12 @@ include_directories(
|
||||
if(UNIX AND NOT APPLE)
|
||||
set(DEPENDS_PREFIX depends/x86_64-pc-linux-gnu)
|
||||
elseif(APPLE)
|
||||
EXECUTE_PROCESS( COMMAND uname -m COMMAND tr -d '\n' OUTPUT_VARIABLE ARCHITECTURE )
|
||||
if( ${ARCHITECTURE} STREQUAL "arm64" )
|
||||
set(DEPENDS_PREFIX depends/aarch64-apple-darwin21.2.0)
|
||||
else()
|
||||
set(DEPENDS_PREFIX depends/x86_64-apple-darwin19)
|
||||
endif()
|
||||
elseif(WIN32)
|
||||
set(DEPENDS_PREFIX depends/x86_64-w64-mingw32)
|
||||
endif()
|
||||
|
Loading…
Reference in New Issue
Block a user