Other: include sentry dll for Windows deploy.

This commit is contained in:
Romain LE JEUNE
2022-11-29 12:13:26 +01:00
committed by Romain Le Jeune
parent a78b2dee46
commit 7510ba2541
3 changed files with 9 additions and 7 deletions

View File

@ -92,14 +92,7 @@ file(GENERATE OUTPUT ${SENTRY_CONFIG_FILE} CONTENT
"// AUTO GENERATED FILE, DO NOT MODIFY\n#pragma once\nconst char* SentryDNS=\"${DSN_SENTRY}\";\nconst char* SentryProductID=\"bridge-mail@${BRIDGE_APP_VERSION}\";\n"
)
if (APPLE)
#TODO: Find a better way to extract this information
install(PROGRAMS "${VCPKG_INSTALLED_DIR}/${VCPKG_TARGET_TRIPLET}/tools/sentry-native/crashpad_handler" DESTINATION "${CMAKE_INSTALL_PREFIX}/bridge-gui.app/Contents/MacOS/")
endif()
if (WIN32)
install(PROGRAMS "${VCPKG_INSTALLED_DIR}/${VCPKG_TARGET_TRIPLET}/tools/sentry-native/crashpad_handler.exe" DESTINATION "${CMAKE_INSTALL_PREFIX}")
endif()
#*****************************************************************************************************************************************************
# Source files and output