diff --git a/CMakeLists.txt b/CMakeLists.txt index 2adba2baa..8d37ae43c 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -196,11 +196,6 @@ if(UNIX AND NOT APPLE) endif() endif() -# Netwowk Multiplayer -if(ENABLE_NETWORK_MULTIPLAYER) - add_definitions(-DENABLE_NETWORK_MULTIPLAYER_SCREEN) -endif() - # Set some compiler options if(UNIX OR MINGW) set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=gnu++0x") @@ -211,6 +206,11 @@ if(MINGW AND CMAKE_BUILD_TYPE MATCHES Release) SET(CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} -Wl,--subsystem,windows") endif() +# Netwowk Multiplayer +if(ENABLE_NETWORK_MULTIPLAYER) + add_definitions(-DENABLE_NETWORK_MULTIPLAYER_SCREEN) +endif() + if(WIN32) # By default windows.h has macros defined for min and max that screw up everything add_definitions(-DNOMINMAX)