Case 19858 - crashpad_handler is duplicated outside of the Interface/Sandbox applications on MacOS

This commit is contained in:
Roxanne Skelly 2019-04-02 16:42:09 -07:00
parent dd2f8ff2d6
commit b841125b19

View file

@ -48,11 +48,6 @@ macro(add_crashpad)
target_link_libraries(${TARGET_NAME} "-lbsm")
endif()
add_custom_command(
TARGET ${TARGET_NAME}
POST_BUILD
COMMAND ${CMAKE_COMMAND} -E copy ${CRASHPAD_HANDLER_EXE_PATH} "$<TARGET_FILE_DIR:${TARGET_NAME}>/"
)
install(
PROGRAMS ${CRASHPAD_HANDLER_EXE_PATH}
DESTINATION ${INTERFACE_INSTALL_DIR}