From bd49fa4fd8d9d2210d7afc18ee27b2c52a8baaca Mon Sep 17 00:00:00 2001 From: Deve Date: Sun, 6 Sep 2015 21:00:50 +0200 Subject: [PATCH] Move adding definition to other definitions --- CMakeLists.txt | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) 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)