From e11f7ee3c5a26939091c8bb6c15bd6251e0948e8 Mon Sep 17 00:00:00 2001 From: DankParrot Date: Sat, 1 Aug 2020 20:57:32 -0700 Subject: [PATCH] Enable cNBT in build --- meson.build | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/meson.build b/meson.build index 2b0446a..caa9311 100644 --- a/meson.build +++ b/meson.build @@ -57,16 +57,16 @@ libevent_extra_dep = libevent_proj.dependency('event_extra_static') # TODO: cNBT -#cnbt_vars = cmake.subproject_options() -#cnbt_vars.add_cmake_defines({ -# 'CNBT_BUILD_EXAMPLES' : false, -# 'BUILD_SHARED_LIBS' : false, -#}) +cnbt_vars = cmake.subproject_options() +cnbt_vars.add_cmake_defines({ + 'CNBT_BUILD_EXAMPLES' : false, + 'BUILD_SHARED_LIBS' : false, +}) -#cnbt_vars.set_install(false) +cnbt_vars.set_install(false) -#cnbt_proj = cmake.subproject('cNBT', options : cnbt_vars) -#cnbt_dep = cnbt_proj.dependency('nbt') +cnbt_proj = cmake.subproject('cNBT', options : cnbt_vars) +cnbt_dep = cnbt_proj.dependency('nbt') ######################################## @@ -75,7 +75,7 @@ feather_deps = [ zlib_dep, libevent_core_dep, libevent_extra_dep, -# cnbt_dep + cnbt_dep ] if feather_platform == 'windows'