From 0af04dc060cfe94f25d1d3691c8bb87cbab1ecc5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Petr=20Mr=C3=A1zek?= Date: Sat, 26 Sep 2015 01:22:37 +0200 Subject: NOISSUE attempt to fix NBT lib options not applying --- CMakeLists.txt | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'CMakeLists.txt') 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 ######## -- cgit v1.2.3