summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPetr Mrázek <peterix@gmail.com>2015-09-26 01:22:37 +0200
committerPetr Mrázek <peterix@gmail.com>2015-09-26 01:22:37 +0200
commit0af04dc060cfe94f25d1d3691c8bb87cbab1ecc5 (patch)
tree5639d473a4cf6a458eb10ccfea872c7f734daf83
parente4df8165f7ffce8e4c7cb64933cee167b069ea74 (diff)
downloadMultiMC-0af04dc060cfe94f25d1d3691c8bb87cbab1ecc5.tar
MultiMC-0af04dc060cfe94f25d1d3691c8bb87cbab1ecc5.tar.gz
MultiMC-0af04dc060cfe94f25d1d3691c8bb87cbab1ecc5.tar.lz
MultiMC-0af04dc060cfe94f25d1d3691c8bb87cbab1ecc5.tar.xz
MultiMC-0af04dc060cfe94f25d1d3691c8bb87cbab1ecc5.zip
NOISSUE attempt to fix NBT lib options not applying
-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 ########