From 123e3d3ec6cdf6890a29542de4f190e4890d04ca Mon Sep 17 00:00:00 2001 From: Mikhail Paulyshka Date: Tue, 18 Jan 2022 14:40:53 +0300 Subject: [PATCH] fix: cmake `SENTRY_LIBRARY_TYPE` variable check --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index e3bcc30d8..08522006c 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -384,7 +384,7 @@ if(SENTRY_LINK_PTHREAD) endif() # apply platform libraries to sentry library -if(SENTRY_LIBRARY_TYPE STREQUAL "static") +if(SENTRY_LIBRARY_TYPE STREQUAL "STATIC") target_link_libraries(sentry PUBLIC ${_SENTRY_PLATFORM_LIBS}) else() target_link_libraries(sentry PRIVATE ${_SENTRY_PLATFORM_LIBS})