3 # Wireshark - Network traffic analyzer
4 # By Gerald Combs <gerald@wireshark.org>
5 # Copyright 1998 Gerald Combs
7 # SPDX-License-Identifier: GPL-2.0-or-later
9 # Add a list of your custom plugins SRC dir here including the path
12 # Fail CMake stage if any of these plugins are missing from source tree
13 set(CUSTOM_PLUGIN_SRC_DIR
19 # Do not fail CMake stage if any of the optional plugins are missing from source tree
20 set(_OPTIONAL_CUSTOM_PLUGIN_SRC_DIR
24 foreach( _plugin_dir ${_OPTIONAL_CUSTOM_PLUGIN_SRC_DIR} )
25 if( EXISTS ${CMAKE_CURRENT_SOURCE_DIR}/${_plugin_dir}/CMakeLists.txt )
26 list( APPEND CUSTOM_PLUGIN_SRC_DIR ${_plugin_dir} )
28 message( WARNING "Custom plugins: No ${_plugin_dir}/CMakeLists.txt file found - ignoring" )
33 # Editor modelines - http://www.wireshark.org/tools/modelines.html
41 # vi: set shiftwidth=8 tabstop=8 noexpandtab:
42 # :indentSize=8:tabSize=8:noTabs=false: