mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-04 05:19:01 +08:00
ccd45eba76
Signed-off-by: Vitalii Koshura <lestat.de.lionkur@gmail.com>
22 lines
786 B
Diff
22 lines
786 B
Diff
diff --git a/sentry-config.cmake.in b/sentry-config.cmake.in
|
|
index 70ce7d3..796d428 100644
|
|
--- a/sentry-config.cmake.in
|
|
+++ b/sentry-config.cmake.in
|
|
@@ -9,7 +9,7 @@ set(SENTRY_LINK_PTHREAD @SENTRY_LINK_PTHREAD@)
|
|
|
|
if(SENTRY_BACKEND STREQUAL "crashpad")
|
|
include("${CMAKE_CURRENT_LIST_DIR}/sentry_crashpad-targets.cmake")
|
|
- if(NOT MSVC AND NOT SENTRY_BUILD_SHARED_LIBS)
|
|
+ if(NOT SENTRY_BUILD_SHARED_LIBS)
|
|
find_dependency(ZLIB REQUIRED)
|
|
endif()
|
|
endif()
|
|
@@ -23,7 +23,5 @@ endif()
|
|
include("${CMAKE_CURRENT_LIST_DIR}/sentry-targets.cmake")
|
|
|
|
if(SENTRY_TRANSPORT STREQUAL "curl" AND (NOT @BUILD_SHARED_LIBS@ OR NOT SENTRY_BUILD_SHARED_LIBS))
|
|
find_dependency(CURL REQUIRED)
|
|
- set_property(TARGET sentry::sentry APPEND
|
|
- PROPERTY INTERFACE_LINK_LIBRARIES ${CURL_LIBRARIES})
|
|
endif()
|