diff --git a/CMakeLists.txt b/CMakeLists.txt index 1d6a098..d32fddb 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -12,6 +12,9 @@ project(BeamMP-Server set(SENTRY_TRANSPORT "curl") include_directories("include/sentry-native/include") set(SENTRY_BUILD_SHARED_LIBS OFF) +if (MSVC) + set(SENTRY_BUILD_RUNTIMESTATIC ON) +endif() add_subdirectory("include/sentry-native") message(STATUS "Setting compiler flags")