CMakeLists: build runtime static on msvc

This commit is contained in:
Lion Kortlepel
2021-08-12 12:18:51 +02:00
committed by Lion
parent 3d13381abd
commit e8665bfb72

View File

@@ -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")