mirror of
https://github.com/BeamMP/BeamMP-Server.git
synced 2026-05-19 16:10:41 +00:00
CMakeLists: build runtime static on msvc
This commit is contained in:
@@ -12,6 +12,9 @@ project(BeamMP-Server
|
|||||||
set(SENTRY_TRANSPORT "curl")
|
set(SENTRY_TRANSPORT "curl")
|
||||||
include_directories("include/sentry-native/include")
|
include_directories("include/sentry-native/include")
|
||||||
set(SENTRY_BUILD_SHARED_LIBS OFF)
|
set(SENTRY_BUILD_SHARED_LIBS OFF)
|
||||||
|
if (MSVC)
|
||||||
|
set(SENTRY_BUILD_RUNTIMESTATIC ON)
|
||||||
|
endif()
|
||||||
add_subdirectory("include/sentry-native")
|
add_subdirectory("include/sentry-native")
|
||||||
|
|
||||||
message(STATUS "Setting compiler flags")
|
message(STATUS "Setting compiler flags")
|
||||||
|
|||||||
Reference in New Issue
Block a user