diff options
| author | 2023-11-20 15:52:18 +0200 | |
|---|---|---|
| committer | 2023-11-25 00:47:36 -0500 | |
| commit | 3ec3cca4d8d4e1733cbc337b0499ad3bdcdf52b0 (patch) | |
| tree | 4f8cb57560d4aa06d73a799537945b5a842460b2 /src/core/CMakeLists.txt | |
| parent | common: Enforce fastmem for nce usage (diff) | |
| download | yuzu-3ec3cca4d8d4e1733cbc337b0499ad3bdcdf52b0.tar.gz yuzu-3ec3cca4d8d4e1733cbc337b0499ad3bdcdf52b0.tar.xz yuzu-3ec3cca4d8d4e1733cbc337b0499ad3bdcdf52b0.zip | |
core: Define HAS_NCE macro
Diffstat (limited to 'src/core/CMakeLists.txt')
| -rw-r--r-- | src/core/CMakeLists.txt | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/core/CMakeLists.txt b/src/core/CMakeLists.txt index c5805ec61..e0bfb5b95 100644 --- a/src/core/CMakeLists.txt +++ b/src/core/CMakeLists.txt | |||
| @@ -926,7 +926,8 @@ if (ENABLE_WEB_SERVICE) | |||
| 926 | target_link_libraries(core PRIVATE web_service) | 926 | target_link_libraries(core PRIVATE web_service) |
| 927 | endif() | 927 | endif() |
| 928 | 928 | ||
| 929 | if (ARCHITECTURE_arm64) | 929 | if (ARCHITECTURE_arm64 AND (ANDROID OR ${CMAKE_SYSTEM_NAME} STREQUAL "Linux")) |
| 930 | target_compile_definitions(core PRIVATE -DHAS_NCE) | ||
| 930 | enable_language(C ASM) | 931 | enable_language(C ASM) |
| 931 | set(CMAKE_ASM_FLAGS "${CFLAGS} -x assembler-with-cpp") | 932 | set(CMAKE_ASM_FLAGS "${CFLAGS} -x assembler-with-cpp") |
| 932 | 933 | ||