fixed multiprocessing on windows and removed redundend compile of headers
This commit is contained in:
parent
0c027927c4
commit
44638cd24a
@ -2,6 +2,11 @@
|
||||
cmake_minimum_required (VERSION 2.6)
|
||||
project (MCServer)
|
||||
|
||||
if(WIN32)
|
||||
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} /MP")
|
||||
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} /MP")
|
||||
endif()
|
||||
|
||||
set(CMAKE_CXX_FLAGS_BAK ${CMAKE_CXX_FLAGS})
|
||||
set(CMAKE_C_FLAGS_BAK ${CMAKE_C_FLAGS})
|
||||
if (UNIX)
|
||||
|
@ -37,7 +37,6 @@ endforeach(folder)
|
||||
|
||||
file(GLOB_RECURSE SOURCE
|
||||
"*.cpp"
|
||||
"*.h"
|
||||
)
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user