qt: add cpu_backend configuration

This commit is contained in:
amazingfate 2023-11-26 20:25:18 -05:00 committed by Liam
parent 82c5e2472e
commit c95a560bc3
9 changed files with 59 additions and 6 deletions

View file

@ -260,6 +260,11 @@ if (UNIX)
add_definitions(-DYUZU_UNIX=1)
endif()
if (ARCHITECTURE_arm64 AND (ANDROID OR ${CMAKE_SYSTEM_NAME} STREQUAL "Linux"))
set(HAS_NCE 1)
add_definitions(-DHAS_NCE=1)
endif()
# Configure C++ standard
# ===========================