From a7523af7068882c9c097f11a1c613c63f46db9bd Mon Sep 17 00:00:00 2001 From: Merry Date: Sat, 31 Dec 2022 15:21:18 +0000 Subject: [PATCH] CMakeLists: Add to precompiled headers --- src/dynarmic/CMakeLists.txt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/dynarmic/CMakeLists.txt b/src/dynarmic/CMakeLists.txt index 6dbedcf9..313c9fab 100644 --- a/src/dynarmic/CMakeLists.txt +++ b/src/dynarmic/CMakeLists.txt @@ -474,6 +474,8 @@ if (DYNARMIC_USE_PRECOMPILED_HEADERS) set(PRECOMPILED_HEADERS "$<$:${CMAKE_CURRENT_SOURCE_DIR}/ir/ir_emitter.h>") if (ARCHITECTURE STREQUAL "x86_64") list(PREPEND PRECOMPILED_HEADERS "$<$:>") + elseif(ARCHITECTURE STREQUAL "arm64") + list(PREPEND PRECOMPILED_HEADERS "$<$:>") endif() target_precompile_headers(dynarmic PRIVATE ${PRECOMPILED_HEADERS}) set(CMAKE_PCH_INSTANTIATE_TEMPLATES ON)