From 2a59ee58b8b6d42f5119d67f957b3dc76972b27d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Mayer?= Date: Thu, 10 Oct 2013 20:35:32 +0000 Subject: Add Airpcap detection, use it by default on win32 QT5 compile working - NOT. It's almost working, except that I *still* need to get GTK detection working on Win :-( svn path=/trunk/; revision=52513 --- CMakeOptions.txt | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'CMakeOptions.txt') diff --git a/CMakeOptions.txt b/CMakeOptions.txt index c216d1e83e..0dea7c4ddb 100644 --- a/CMakeOptions.txt +++ b/CMakeOptions.txt @@ -28,7 +28,11 @@ option(ENABLE_PCAP "Enable libpcap support (required for capturing)" ON) # whether the AirPcap SDK is available, and turn AirPcap support on # only if it is. # -option(ENABLE_AIRPCAP "Enable AirPcap support" OFF) +if(WIN32) + option(ENABLE_AIRPCAP "Enable AirPcap support" ON) +else() + option(ENABLE_AIRPCAP "Enable AirPcap support" OFF) +endif() # todo option(ENABLE_STATIC "Build a static version of Wireshark (not yet working)" OFF) option(ENABLE_ECHLD "Enable echld support" OFF) -- cgit v1.2.3