DolphinQt: Support compiling on ARM64

This commit is contained in:
Stenzek
2020-01-04 20:08:42 +11:00
parent 2a18d1beb4
commit d8b2be9d06
4 changed files with 18 additions and 7 deletions

View File

@ -1,5 +1,9 @@
if (NOT Qt5_DIR AND MSVC)
set(Qt5_DIR "${CMAKE_SOURCE_DIR}/Externals/Qt/Qt5.13.1/5.13.1/msvc2017_64/lib/cmake/Qt5")
if(_M_ARM_64)
set(Qt5_DIR "${CMAKE_SOURCE_DIR}/Externals/Qt/Qt5.13.1/5.13.1/msvc2017_64/lib/cmake/Qt5")
else()
set(Qt5_DIR "${CMAKE_SOURCE_DIR}/Externals/Qt/Qt5.13.2/5.13.2/msvc2017_arm64/lib/cmake/Qt5")
endif()
endif()
find_package(Qt5 5.9 REQUIRED COMPONENTS Gui Widgets)