CMakeLists: Minor multi-arch support cleanup
This commit is contained in:
parent
047561298a
commit
9af4b970d3
1 changed files with 2 additions and 2 deletions
|
@ -414,7 +414,6 @@ elseif (APPLE)
|
||||||
-sheader "${CMAKE_CURRENT_SOURCE_DIR}/backend/x64/mig/mach_exc_server.h"
|
-sheader "${CMAKE_CURRENT_SOURCE_DIR}/backend/x64/mig/mach_exc_server.h"
|
||||||
"${MACH_EXC_DEFS_DIR}/mach/mach_exc.defs"
|
"${MACH_EXC_DEFS_DIR}/mach/mach_exc.defs"
|
||||||
)
|
)
|
||||||
message(STATUS "mach/mach_exc.defs location: ${MACH_EXC_DEFS_DIR}")
|
|
||||||
execute_process(
|
execute_process(
|
||||||
COMMAND
|
COMMAND
|
||||||
mkdir -p "${CMAKE_CURRENT_SOURCE_DIR}/backend/arm64/mig"
|
mkdir -p "${CMAKE_CURRENT_SOURCE_DIR}/backend/arm64/mig"
|
||||||
|
@ -486,7 +485,8 @@ if (DYNARMIC_USE_PRECOMPILED_HEADERS)
|
||||||
set(PRECOMPILED_HEADERS "$<$<COMPILE_LANGUAGE:CXX>:${CMAKE_CURRENT_SOURCE_DIR}/ir/ir_emitter.h>")
|
set(PRECOMPILED_HEADERS "$<$<COMPILE_LANGUAGE:CXX>:${CMAKE_CURRENT_SOURCE_DIR}/ir/ir_emitter.h>")
|
||||||
if ("x86_64" IN_LIST ARCHITECTURE)
|
if ("x86_64" IN_LIST ARCHITECTURE)
|
||||||
list(PREPEND PRECOMPILED_HEADERS "$<$<COMPILE_LANGUAGE:CXX>:<xbyak/xbyak.h$<ANGLE-R>>")
|
list(PREPEND PRECOMPILED_HEADERS "$<$<COMPILE_LANGUAGE:CXX>:<xbyak/xbyak.h$<ANGLE-R>>")
|
||||||
elseif("arm64" IN_LIST ARCHITECTURE)
|
endif()
|
||||||
|
if("arm64" IN_LIST ARCHITECTURE)
|
||||||
list(PREPEND PRECOMPILED_HEADERS "$<$<COMPILE_LANGUAGE:CXX>:<oaknut/oaknut.hpp$<ANGLE-R>>")
|
list(PREPEND PRECOMPILED_HEADERS "$<$<COMPILE_LANGUAGE:CXX>:<oaknut/oaknut.hpp$<ANGLE-R>>")
|
||||||
endif()
|
endif()
|
||||||
target_precompile_headers(dynarmic PRIVATE ${PRECOMPILED_HEADERS})
|
target_precompile_headers(dynarmic PRIVATE ${PRECOMPILED_HEADERS})
|
||||||
|
|
Loading…
Reference in a new issue