mirror of
https://github.com/BeamMP/BeamMP-Server.git
synced 2025-07-01 23:35:41 +00:00
add _WIN32_WINNT and move CRT no warnings flag
This commit is contained in:
parent
4256977400
commit
88c0ed56e4
@ -139,9 +139,12 @@ set(BeamMP_Includes
|
||||
|
||||
set(BeamMP_Definitions
|
||||
SECRET_SENTRY_URL="${BEAMMP_SECRET_SENTRY_URL}"
|
||||
_CRT_SECURE_NO_WARNINGS
|
||||
)
|
||||
|
||||
if (WIN32)
|
||||
list(APPEND BeamMP_Definitions _WIN32_WINNT=0x0601)
|
||||
list(APPEND BeamMP_Definitions _CRT_SECURE_NO_WARNINGS)
|
||||
endif()
|
||||
if (UNIX)
|
||||
set(BeamMP_CompileOptions
|
||||
-Wall
|
||||
|
Loading…
x
Reference in New Issue
Block a user