summaryrefslogtreecommitdiffstats
path: root/src/CMakeLists.txt
diff options
context:
space:
mode:
authorTycho <work.tycho+git@gmail.com>2014-03-07 20:23:28 +0100
committerTycho <work.tycho+git@gmail.com>2014-03-07 20:23:28 +0100
commit72697cfb4f7cfa8e82cba4960ac9e8c729c3b24d (patch)
treecf3bea9dbe9346239f76d6c0be00ae48dccb3db9 /src/CMakeLists.txt
parentMerge pull request #765 from worktycho/fastmath (diff)
downloadcuberite-72697cfb4f7cfa8e82cba4960ac9e8c729c3b24d.tar
cuberite-72697cfb4f7cfa8e82cba4960ac9e8c729c3b24d.tar.gz
cuberite-72697cfb4f7cfa8e82cba4960ac9e8c729c3b24d.tar.bz2
cuberite-72697cfb4f7cfa8e82cba4960ac9e8c729c3b24d.tar.lz
cuberite-72697cfb4f7cfa8e82cba4960ac9e8c729c3b24d.tar.xz
cuberite-72697cfb4f7cfa8e82cba4960ac9e8c729c3b24d.tar.zst
cuberite-72697cfb4f7cfa8e82cba4960ac9e8c729c3b24d.zip
Diffstat (limited to '')
-rw-r--r--src/CMakeLists.txt8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
index 5029906aa..cafa519c3 100644
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -9,6 +9,14 @@ include_directories (SYSTEM "${PROJECT_SOURCE_DIR}/../lib/polarssl/include")
set(FOLDERS OSSupport HTTPServer Items Blocks Protocol Generating)
set(FOLDERS ${FOLDERS} WorldStorage Mobs Entities Simulator UI BlockEntities)
+if(DEFINED ENV{MCSERVER_BUILD_TYPE})
+ message("Setting build type to $ENV{MCSERVER_BUILD_TYPE}")
+ set(CMAKE_BUILD_TYPE $ENV{MCSERVER_BUILD_TYPE})
+endif()
+
+if(DEFINED ENV{MCSERVER_FORCE32})
+ set(FORCE32 $ENV{MCSERVER_FORCE32})
+endif()
if (NOT MSVC)