summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--CMakeLists.txt8
1 files changed, 4 insertions, 4 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 2bf0b8cc..1c40a71e 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -117,10 +117,10 @@ include_directories(${PACK200_INCLUDE_DIR})
add_subdirectory(depends/rainbow)
include_directories(${RAINBOW_INCLUDE_DIR})
-# Add NBT library - with out preferred options
-set(NBT_BUILD_SHARED ON)
-set(NBT_USE_ZLIB OFF)
-set(NBT_BUILD_TESTS OFF) #FIXME: fix unit tests.
+# Add NBT library - with our preferred options
+set(NBT_BUILD_SHARED ON CACHE BOOL "Build NBT shared library")
+set(NBT_USE_ZLIB OFF CACHE BOOL "Build NBT library with zlib support")
+set(NBT_BUILD_TESTS OFF CACHE BOOL "Build NBT library tests") #FIXME: fix unit tests.
add_subdirectory(depends/libnbtplusplus)
######## MultiMC Libs ########