diff options
author | Derek Kozel <derek.kozel@ettus.com> | 2016-08-24 12:22:20 -0700 |
---|---|---|
committer | Derek Kozel <derek.kozel@ettus.com> | 2016-08-24 12:46:36 -0700 |
commit | fe7fe8b6ceb21da3e3636b955f2248b511a6d146 (patch) | |
tree | 86167c125e426b62fcbc926ed0a15e5375debfde /tools/chdr-dissector/cmake/Modules/FindWireshark.cmake | |
parent | 62f38b8f0607a70287bdfdbb0d71aff9cc0e723e (diff) | |
download | uhd-fe7fe8b6ceb21da3e3636b955f2248b511a6d146.tar.gz uhd-fe7fe8b6ceb21da3e3636b955f2248b511a6d146.tar.bz2 uhd-fe7fe8b6ceb21da3e3636b955f2248b511a6d146.zip |
Combined dissectors and added Wireshark 2 support
Diffstat (limited to 'tools/chdr-dissector/cmake/Modules/FindWireshark.cmake')
-rw-r--r-- | tools/chdr-dissector/cmake/Modules/FindWireshark.cmake | 28 |
1 files changed, 0 insertions, 28 deletions
diff --git a/tools/chdr-dissector/cmake/Modules/FindWireshark.cmake b/tools/chdr-dissector/cmake/Modules/FindWireshark.cmake deleted file mode 100644 index 276201245..000000000 --- a/tools/chdr-dissector/cmake/Modules/FindWireshark.cmake +++ /dev/null @@ -1,28 +0,0 @@ -# -# Try to find the wireshark library and its includes -# -# This snippet sets the following variables: -# WIRESHARK_FOUND True if wireshark library got found -# WIRESHARK_INCLUDE_DIRS Location of the wireshark headers -# WIRESHARK_LIBRARIES List of libraries to use wireshark -# -# Copyright (c) 2011 Reinhold Kainhofer <reinhold@kainhofer.com> -# -# Redistribution and use is allowed according to the terms of the New -# BSD license. -# For details see the accompanying COPYING-CMAKE-SCRIPTS file. -# - -# wireshark does not install its library with pkg-config information, -# so we need to manually find the libraries and headers - -FIND_PATH( WIRESHARK_INCLUDE_DIRS epan/column.h PATH_SUFFIXES wireshark ) -FIND_LIBRARY( WIRESHARK_LIBRARIES wireshark ) - -# Report results -IF ( WIRESHARK_LIBRARIES AND WIRESHARK_INCLUDE_DIRS ) - SET( WIRESHARK_FOUND 1 ) -ELSE ( WIRESHARK_LIBRARIES AND WIRESHARK_INCLUDE_DIRS ) - MESSAGE( SEND_ERROR "Could NOT find the wireshark library and headers" ) -ENDIF ( WIRESHARK_LIBRARIES AND WIRESHARK_INCLUDE_DIRS ) - |