CMakeLists: Add <oaknut/oaknut.hpp> to precompiled headers
This commit is contained in:
parent
eb7fca3e8f
commit
a7523af706
1 changed files with 2 additions and 0 deletions
|
@ -474,6 +474,8 @@ if (DYNARMIC_USE_PRECOMPILED_HEADERS)
|
|||
set(PRECOMPILED_HEADERS "$<$<COMPILE_LANGUAGE:CXX>:${CMAKE_CURRENT_SOURCE_DIR}/ir/ir_emitter.h>")
|
||||
if (ARCHITECTURE STREQUAL "x86_64")
|
||||
list(PREPEND PRECOMPILED_HEADERS "$<$<COMPILE_LANGUAGE:CXX>:<xbyak/xbyak.h$<ANGLE-R>>")
|
||||
elseif(ARCHITECTURE STREQUAL "arm64")
|
||||
list(PREPEND PRECOMPILED_HEADERS "$<$<COMPILE_LANGUAGE:CXX>:<oaknut/oaknut.hpp$<ANGLE-R>>")
|
||||
endif()
|
||||
target_precompile_headers(dynarmic PRIVATE ${PRECOMPILED_HEADERS})
|
||||
set(CMAKE_PCH_INSTANTIATE_TEMPLATES ON)
|
||||
|
|
Loading…
Reference in a new issue