mirror of https://github.com/AxioDL/metaforce.git
Add crashpad_handler to macOS .app
This commit is contained in:
parent
234981aa7f
commit
ee4a12f1ea
|
@ -151,6 +151,13 @@ elseif (APPLE)
|
||||||
COMMAND ${CMAKE_COMMAND} -E copy $<TARGET_FILE:visigen> $<TARGET_FILE_DIR:hecl-gui>
|
COMMAND ${CMAKE_COMMAND} -E copy $<TARGET_FILE:visigen> $<TARGET_FILE_DIR:hecl-gui>
|
||||||
DEPENDS urde hecl visigen
|
DEPENDS urde hecl visigen
|
||||||
)
|
)
|
||||||
|
if (NOT "${SENTRY_DSN}" STREQUAL "")
|
||||||
|
add_custom_command(
|
||||||
|
TARGET hecl-gui POST_BUILD
|
||||||
|
COMMAND ${CMAKE_COMMAND} -E copy $<TARGET_FILE:crashpad_handler> $<TARGET_FILE_DIR:hecl-gui>
|
||||||
|
DEPENDS crashpad_handler
|
||||||
|
)
|
||||||
|
endif()
|
||||||
endif ()
|
endif ()
|
||||||
|
|
||||||
add_subdirectory(platforms/freedesktop)
|
add_subdirectory(platforms/freedesktop)
|
||||||
|
|
Loading…
Reference in New Issue