mirror of
https://github.com/azahar-emu/dynarmic
synced 2025-11-06 23:19:58 +01:00
CMake: Fail configuration on darwin if mig fails
If this command is not successful the compilation fails due to missing headers. Signed-off-by: Marcin Serwin <marcin@serwin.dev>
This commit is contained in:
parent
c8ffc3fa61
commit
cbca2f5761
@ -462,6 +462,7 @@ elseif (APPLE)
|
|||||||
-server "${CMAKE_CURRENT_SOURCE_DIR}/backend/x64/mig/mach_exc_server.c"
|
-server "${CMAKE_CURRENT_SOURCE_DIR}/backend/x64/mig/mach_exc_server.c"
|
||||||
-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"
|
||||||
|
COMMAND_ERROR_IS_FATAL ANY
|
||||||
)
|
)
|
||||||
execute_process(
|
execute_process(
|
||||||
COMMAND
|
COMMAND
|
||||||
@ -474,6 +475,7 @@ elseif (APPLE)
|
|||||||
-server "${CMAKE_CURRENT_SOURCE_DIR}/backend/arm64/mig/mach_exc_server.c"
|
-server "${CMAKE_CURRENT_SOURCE_DIR}/backend/arm64/mig/mach_exc_server.c"
|
||||||
-sheader "${CMAKE_CURRENT_SOURCE_DIR}/backend/arm64/mig/mach_exc_server.h"
|
-sheader "${CMAKE_CURRENT_SOURCE_DIR}/backend/arm64/mig/mach_exc_server.h"
|
||||||
"${MACH_EXC_DEFS_DIR}/mach/mach_exc.defs"
|
"${MACH_EXC_DEFS_DIR}/mach/mach_exc.defs"
|
||||||
|
COMMAND_ERROR_IS_FATAL ANY
|
||||||
)
|
)
|
||||||
target_sources(dynarmic PRIVATE
|
target_sources(dynarmic PRIVATE
|
||||||
backend/exception_handler_macos.cpp
|
backend/exception_handler_macos.cpp
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user