Enable cNBT in build

This commit is contained in:
DankParrot 2020-08-01 20:57:32 -07:00
parent b06a3feeb6
commit e11f7ee3c5
1 changed files with 9 additions and 9 deletions

View File

@ -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'