diff options
-rw-r--r-- | CMakeLists.txt | 1 | ||||
-rw-r--r-- | CMakeOptions.txt | 1 | ||||
-rw-r--r-- | cmakeconfig.h.in | 3 |
3 files changed, 4 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 3516a50821..6bc3ae7cd2 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -155,7 +155,6 @@ endif() add_definitions( -DHAVE_CONFIG_H -DPACKAGE=\"wireshark\" - -DNEW_PACKET_LIST ) # Counterhack to work around some cache magic in CHECK_C_SOURCE_COMPILES diff --git a/CMakeOptions.txt b/CMakeOptions.txt index e26e2510c7..910dc47043 100644 --- a/CMakeOptions.txt +++ b/CMakeOptions.txt @@ -15,6 +15,7 @@ option(BUILD_dftest "Build dftest" ON) option(AUTOGEN_dcerpc "Autogenerate dcerpc dissectors" OFF) option(AUTOGEN_pidl "Autogenerate pidl dissectors" OFF) +option(NEW_PACKET_LIST "Compile with new packet list code" ON) option(DISABLE_WERROR "Do not treat Warnings as errors" OFF) option(ENABLE_EXTRA_GCC_CHECKS "Do additional -W checks in GCC (disables -Werror)" OFF) option(ENABLE_AIRPCAP "Enable Airpcap support" ON) diff --git a/cmakeconfig.h.in b/cmakeconfig.h.in index 77c562b061..d739c42174 100644 --- a/cmakeconfig.h.in +++ b/cmakeconfig.h.in @@ -16,6 +16,9 @@ #define PLUGIN_DIR "${CMAKE_INSTALL_PREFIX}/${CMAKE_INSTALL_LIBDIR}/@CPACK_PACKAGE_NAME@/plugins/${CPACK_PACKAGE_VERSION}" /* Define to 1 if we want to enable plugins */ +#cmakedefine NEW_PACKET_LIST 1 + +/* Define to 1 if we want to enable plugins */ #cmakedefine HAVE_PLUGINS 1 /* Link plugins statically into Wireshark */ |