mirror of
https://github.com/BeamMP/BeamMP-Server.git
synced 2025-07-04 00:36:14 +00:00
v1.13
This commit is contained in:
parent
6a8d097dc5
commit
ad844db7fe
@ -12,6 +12,7 @@ elseif (WIN32)
|
|||||||
# This might cause issues with old windows headers, but it's worth the trouble to keep the code
|
# This might cause issues with old windows headers, but it's worth the trouble to keep the code
|
||||||
# completely cross platform. For fixes to common issues arising from /permissive- visit:
|
# completely cross platform. For fixes to common issues arising from /permissive- visit:
|
||||||
# https://docs.microsoft.com/en-us/cpp/build/reference/permissive-standards-conformance
|
# https://docs.microsoft.com/en-us/cpp/build/reference/permissive-standards-conformance
|
||||||
|
message(${CMAKE_CXX_FLAGS_RELEASE})
|
||||||
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} /W3 /permissive-")
|
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} /W3 /permissive-")
|
||||||
message(STATUS "MSVC -> forcing use of statically-linked runtime.")
|
message(STATUS "MSVC -> forcing use of statically-linked runtime.")
|
||||||
STRING(REPLACE "/MD" "/MT" CMAKE_CXX_FLAGS_RELEASE ${CMAKE_CXX_FLAGS_RELEASE})
|
STRING(REPLACE "/MD" "/MT" CMAKE_CXX_FLAGS_RELEASE ${CMAKE_CXX_FLAGS_RELEASE})
|
||||||
|
@ -9,7 +9,7 @@
|
|||||||
|
|
||||||
std::string CustomIP;
|
std::string CustomIP;
|
||||||
std::string GetSVer() {
|
std::string GetSVer() {
|
||||||
return std::string(Sec("1.12"));
|
return std::string(Sec("1.13"));
|
||||||
}
|
}
|
||||||
std::string GetCVer() {
|
std::string GetCVer() {
|
||||||
return std::string(Sec("1.70"));
|
return std::string(Sec("1.70"));
|
||||||
|
Loading…
x
Reference in New Issue
Block a user