More windows fixes (#329)

- Added World, Chat and Auth servers as deps to Master
- Added "windows-default" CMake preset so that CMake didn't error out on Windows
- Added NOMINMAX define above cpplinq include
This commit is contained in:
Jett
2022-01-01 09:38:45 +00:00
committed by GitHub
parent a15f9f38d8
commit 83107d413d
3 changed files with 24 additions and 0 deletions

View File

@@ -487,3 +487,9 @@ if(UNIX)
endif()
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -std=c99 -O2 -fPIC")
endif(UNIX)
if(WIN32)
add_dependencies(MasterServer WorldServer)
add_dependencies(MasterServer AuthServer)
add_dependencies(MasterServer ChatServer)
endif()