This commit is contained in:
Anonymous275 2020-11-21 00:29:30 +02:00
parent 6a8d097dc5
commit ad844db7fe
2 changed files with 2 additions and 1 deletions

View File

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

View File

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