From c0a8ea9c9c9900763e7916024a6ef194a3a994a5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jo=C3=A3o=20Valverde?= Date: Fri, 26 May 2023 13:02:09 +0100 Subject: [PATCH] CMake: Tweak MinGW options --- CMakeOptions.txt | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/CMakeOptions.txt b/CMakeOptions.txt index f4e406c61e..f15e749ce7 100644 --- a/CMakeOptions.txt +++ b/CMakeOptions.txt @@ -87,8 +87,8 @@ option(ENABLE_PCAP "Enable libpcap support (required for capturing)" ON) # only if it is. # if(WIN32) - if(USE_MSYSTEM) - # AirPcap SDK is not available with MSYS2. + if(MINGW) + # AirPcap SDK is not widely available or supported with MinGW. set(_enable_airpcap OFF) else() set(_enable_airpcap ON) @@ -110,7 +110,7 @@ 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 RSA decryption support" ON) -if(WIN32 AND NOT USE_MSYSTEM) +if(WIN32 AND USE_REPOSITORY) option(ENABLE_WINSPARKLE "Enable automatic updates using WinSparkle" ON) endif() if (NOT WIN32)