Skip to content
Snippets Groups Projects
Commit 6fa416fe authored by Rye Mutt's avatar Rye Mutt :bread:
Browse files

Fix linux sentry linkage

parent dcc4b1b1
No related branches found
No related tags found
No related merge requests found
...@@ -13,9 +13,17 @@ if (USE_SENTRY) ...@@ -13,9 +13,17 @@ if (USE_SENTRY)
find_library(SENTRY_LIBRARIES Sentry REQUIRED find_library(SENTRY_LIBRARIES Sentry REQUIRED
NO_DEFAULT_PATH PATHS "${ARCH_PREBUILT_DIRS_RELEASE}") NO_DEFAULT_PATH PATHS "${ARCH_PREBUILT_DIRS_RELEASE}")
else () else ()
include(CURL)
include(NGHTTP2)
include(OpenSSL)
include(ZLIB)
set(SENTRY_LIBRARIES set(SENTRY_LIBRARIES
${ARCH_PREBUILT_DIRS_RELEASE}/libsentry.a ${ARCH_PREBUILT_DIRS_RELEASE}/libsentry.a
${ARCH_PREBUILT_DIRS_RELEASE}/libbreakpad_client.a) ${ARCH_PREBUILT_DIRS_RELEASE}/libbreakpad_client.a
${CURL_LIBRARIES}
${NGHTTP2_LIBRARIES}
${OPENSSL_LIBRARIES}
${ZLIB_LIBRARIES})
endif () endif ()
else () else ()
find_package(Sentry REQUIRED) find_package(Sentry REQUIRED)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment