Enable cNBT in build
This commit is contained in:
parent
b06a3feeb6
commit
e11f7ee3c5
18
meson.build
18
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'
|
||||
|
|
Loading…
Reference in New Issue