diff options
author | tycho <tycho@hanoverdesktop> | 2013-12-20 00:37:24 +0100 |
---|---|---|
committer | tycho <tycho@hanoverdesktop> | 2013-12-20 00:37:24 +0100 |
commit | 44638cd24a608d8872663e5858cdf133599af6eb (patch) | |
tree | 9f937f259066d25c7364bfac4bfc463104eb8a2f /CMakeLists.txt | |
parent | fixed visual studio compile flags (diff) | |
download | cuberite-44638cd24a608d8872663e5858cdf133599af6eb.tar cuberite-44638cd24a608d8872663e5858cdf133599af6eb.tar.gz cuberite-44638cd24a608d8872663e5858cdf133599af6eb.tar.bz2 cuberite-44638cd24a608d8872663e5858cdf133599af6eb.tar.lz cuberite-44638cd24a608d8872663e5858cdf133599af6eb.tar.xz cuberite-44638cd24a608d8872663e5858cdf133599af6eb.tar.zst cuberite-44638cd24a608d8872663e5858cdf133599af6eb.zip |
Diffstat (limited to '')
-rw-r--r-- | CMakeLists.txt | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 77ee23cc8..515cb1570 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -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) |