cmake: add ENABLE_NGHTTP2 option
Allow nghttp2 to be disabled, similar to --without-nghttp2. Change-Id: Id27ab12ef7c24a535824f762ce2feb20fba9e065 Reviewed-on: https://code.wireshark.org/review/23247 Petri-Dish: Peter Wu <peter@lekensteyn.nl> Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org> Reviewed-by: Gerald Combs <gerald@wireshark.org>
This commit is contained in:
parent
464679f80f
commit
26de091d1b
|
@ -837,7 +837,7 @@ endif()
|
|||
# - set HAVE_XXX
|
||||
|
||||
# The minimum package list
|
||||
set(PACKAGELIST Gettext M Git GLIB2 GMODULE2 GTHREAD2 GCRYPT LEX YACC Perl SH PythonInterp NGHTTP2)
|
||||
set(PACKAGELIST Gettext M Git GLIB2 GMODULE2 GTHREAD2 GCRYPT LEX YACC Perl SH PythonInterp)
|
||||
set(LEX_OPTIONS REQUIRED)
|
||||
set(GLIB2_OPTIONS REQUIRED)
|
||||
set(GLIB2_FIND_OPTIONS REQUIRED)
|
||||
|
@ -964,6 +964,11 @@ if(ENABLE_SNAPPY)
|
|||
set(PACKAGELIST ${PACKAGELIST} SNAPPY)
|
||||
endif()
|
||||
|
||||
# Enhanced HTTP/2 dissection
|
||||
if(ENABLE_NGHTTP2)
|
||||
set(PACKAGELIST ${PACKAGELIST} NGHTTP2)
|
||||
endif()
|
||||
|
||||
# Embedded Lua interpreter
|
||||
if(ENABLE_LUA)
|
||||
set(PACKAGELIST ${PACKAGELIST} LUA)
|
||||
|
|
|
@ -69,6 +69,7 @@ option(ENABLE_PORTAUDIO "Build with PortAudio support" ON)
|
|||
option(ENABLE_ZLIB "Build with zlib compression support" ON)
|
||||
option(ENABLE_LZ4 "Build with LZ4 compression support" ON)
|
||||
option(ENABLE_SNAPPY "Build with Snappy compression support" ON)
|
||||
option(ENABLE_NGHTTP2 "Build with HTTP/2 header decompression support" ON)
|
||||
option(ENABLE_LUA "Build with Lua dissector support" ON)
|
||||
option(ENABLE_SMI "Build with libsmi snmp support" ON)
|
||||
option(ENABLE_GNUTLS "Build with GNU TLS support" ON)
|
||||
|
|
Loading…
Reference in New Issue