mirror of
https://github.com/wheremyfoodat/Panda3DS.git
synced 2025-04-06 06:05:40 +12:00
Fix building crypto++ for x64 target on Apple silicon MacOS
This commit is contained in:
parent
54978542d2
commit
d3946f8fe5
1 changed files with 4 additions and 1 deletions
5
third_party/cryptopp/CMakeLists.txt
vendored
5
third_party/cryptopp/CMakeLists.txt
vendored
|
@ -209,7 +209,10 @@ function(DumpMachine output pattern)
|
||||||
set(${output} 0 PARENT_SCOPE)
|
set(${output} 0 PARENT_SCOPE)
|
||||||
|
|
||||||
else ()
|
else ()
|
||||||
if(CMAKE_SYSTEM_PROCESSOR MATCHES ${pattern})
|
if("${CMAKE_OSX_ARCHITECTURES}" STREQUAL "" AND CMAKE_SYSTEM_PROCESSOR MATCHES ${pattern})
|
||||||
|
set(${output} TRUE PARENT_SCOPE)
|
||||||
|
endif()
|
||||||
|
if(CMAKE_OSX_ARCHITECTURES MATCHES ${pattern})
|
||||||
set(${output} TRUE PARENT_SCOPE)
|
set(${output} TRUE PARENT_SCOPE)
|
||||||
endif()
|
endif()
|
||||||
endif()
|
endif()
|
||||||
|
|
Loading…
Add table
Reference in a new issue