From 260a2cea593b9f2211879a80d1d5d377592678da Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Petr=20Mr=C3=A1zek?= Date: Mon, 28 Sep 2015 21:20:27 +0200 Subject: NOISSUE more cmake tweakery --- CMakeLists.txt | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'CMakeLists.txt') diff --git a/CMakeLists.txt b/CMakeLists.txt index 37e5314e..c896de08 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -94,9 +94,9 @@ add_subdirectory(depends/xz-embedded) # xz compression add_subdirectory(depends/pack200) # java pack200 compression add_subdirectory(depends/rainbow) # Qt extension for colors -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. +option(NBT_BUILD_SHARED "Build NBT shared library" ON) +option(NBT_USE_ZLIB "Build NBT library with zlib support" OFF) +option(NBT_BUILD_TESTS "Build NBT library tests" OFF) #FIXME: fix unit tests. add_subdirectory(depends/libnbtplusplus) ######## MultiMC Libs ######## -- cgit v1.2.3