Skip to content

Commit

Permalink
fix: Correct CMake SENTRY_LIBRARY_TYPE variable check (#662)
Browse files Browse the repository at this point in the history
  • Loading branch information
Mixaill authored Jan 18, 2022
1 parent e39edcb commit dc1e864
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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})
Expand Down

0 comments on commit dc1e864

Please sign in to comment.