wireshark/cmake/modules
Gerald Combs acaba5ee7e CMake: Fix WinSparkle discovery.
g46b3753d53 changed "ws_find_package(WINSPARKLE ..." to
"ws_find_package(WinSparkle ..." in CMakeLists.txt in order to
fix an issue with case-sensitive folders.

This exposed a different issue in FindWinSparkle.cmake, where we
were passing "WINSPARKLE" to find_package_handle_standard_args. When
successful this would set WINSPARKLE_FOUND, which would in turn *not*
match WinSparkle_FOUND in ws_find_package, which means that we wouldn't
enable automatic updates.

Pass "WinSparkle" to find_package_handle_standard_args instead. Using
a mixed-case package name results in setting both PackageName_FOUND and
PACKAGENAME_FOUND, which fixes our various checks.

Bug: 16381
Change-Id: I46ef98194dc060ad37d9a30bff4d9e905713759e
Reviewed-on: https://code.wireshark.org/review/36079
Reviewed-by: Gerald Combs <gerald@wireshark.org>
Petri-Dish: Gerald Combs <gerald@wireshark.org>
Tested-by: Petri Dish Buildbot
Reviewed-by: Anders Broman <a.broman58@gmail.com>
2020-02-12 13:42:38 +00:00
..
COPYING-CMAKE-SCRIPTS HTTPS In More Places, update some URLs. 2019-07-27 07:55:36 +00:00
CheckCLinkerFlag.cmake CMake: Remove link test output line 2018-09-09 22:33:00 +00:00
FileInstall.cmake CMake: Install the HTML guides. 2018-02-13 06:18:34 +00:00
FindAIRPCAP.cmake CMake: Fix inconsistent find_package() report output 2019-01-12 18:16:59 +00:00
FindAsciidoctor.cmake CMake: Create a DocBook stamp file for Visual Studio. 2019-12-20 07:26:35 +00:00
FindBCG729.cmake CMake: Fix inconsistent find_package() report output 2019-01-12 18:16:59 +00:00
FindBROTLI.cmake Add brotli decompression support for HTTP and HTTP2 dissectors. 2019-04-22 15:24:46 +00:00
FindCAP.cmake cmake: use pkg-config for resolving dependencies 2014-10-01 08:14:34 +00:00
FindCARES.cmake Windows: Use a c-ares DLL built with vcpkg. 2019-01-14 21:31:08 +00:00
FindChocolatey.cmake CMake,WSDG: Remove Cygwin support 2019-01-09 04:21:50 +00:00
FindDOXYGEN.cmake CMake: Doxygen and API reference target updates. 2018-04-24 03:45:15 +00:00
FindGCRYPT.cmake CMake: clean up FindGCRYPT.cmake 2018-12-30 15:03:23 +00:00
FindGLIB2.cmake CMake: Use glib debug dlls in Windows debug builds 2019-09-28 10:24:34 +00:00
FindGMODULE2.cmake CMake: Use glib debug dlls in Windows debug builds 2019-09-28 10:24:34 +00:00
FindGNUTLS.cmake CMake: clean up FindGNUTLS.cmake 2018-12-31 08:11:21 +00:00
FindGTHREAD2.cmake CMake: Use glib debug dlls in Windows debug builds 2019-09-28 10:24:34 +00:00
FindHTMLHelp.cmake CMake: Detection of HTMHelp 2017-11-07 23:01:44 +00:00
FindILBC.cmake RTP: decode iLBC payload 2020-01-20 07:50:08 +00:00
FindKERBEROS.cmake packet-kerberos: try to fix the build on macOS 10.14 2020-01-10 02:44:38 +00:00
FindLEX.cmake CMake,WSDG: Remove Cygwin support 2019-01-09 04:21:50 +00:00
FindLIBSSH.cmake Compile sshdump and ciscodump for Windows 2016-04-25 07:22:28 +00:00
FindLUA.cmake Check for liblua-{version} as well as liblua{version}. 2020-02-01 00:40:56 +00:00
FindLZ4.cmake CMake: Fixup a variable in FindLZ4.cmake 2019-12-11 04:55:43 +00:00
FindLibXml2.cmake FindXml2: use pkg-config to find libxml2 dependencies 2019-04-24 22:07:05 +00:00
FindM.cmake FindM.cmake: directly pass -lm to fix selective static linking 2018-10-18 20:06:49 +00:00
FindMSVC_REDIST.cmake CMake+PortableApps: Include the VC runtime (second try). 2015-12-04 22:32:32 +00:00
FindMaxMindDB.cmake Add MaxMindDB 1.3.2 library to Windows 2018-03-09 11:20:41 +00:00
FindMinizip.cmake Qt: Import Profile information 2019-07-17 18:25:11 +00:00
FindNGHTTP2.cmake Windows: add nghttp2.pdb file to our PDB .zip 2019-08-16 20:15:30 +00:00
FindNL.cmake cmake: fix breakage with libnl2 2016-09-12 12:10:19 +00:00
FindNSIS.cmake Fix detection of NSIS/WiX install path when running a win64 CMake 2016-07-09 07:22:09 +00:00
FindPCAP.cmake case-sensitive: Fix casing for PCAP and WinSparkle 2020-01-07 12:45:53 +00:00
FindPOD.cmake HTTPS (almost) everywhere. 2019-07-26 18:44:40 +00:00
FindPortableApps.cmake CMake: Initial PortableApps targets. 2015-04-14 19:11:50 +00:00
FindPowerShell.cmake Start moving win-setup to PowerShell. 2015-04-14 19:09:30 +00:00
FindSBC.cmake CMake: Fix inconsistent find_package() report output 2019-01-12 18:16:59 +00:00
FindSETCAP.cmake Continue to remove $Id$ from top of file 2014-03-31 18:48:06 +00:00
FindSMI.cmake CMake: Copy libwireshark dependent DLLs to the target directory. 2015-01-13 19:25:10 +00:00
FindSNAPPY.cmake CMake: Fix inconsistent find_package() report output 2019-01-12 18:16:59 +00:00
FindSPANDSP.cmake CMake: Fix inconsistent find_package() report output 2019-01-12 18:16:59 +00:00
FindSparkle.cmake CMake: Work correctly without Sparkle. 2019-11-15 22:34:06 +00:00
FindSpeexDSP.cmake CMake: Check for and use system SpeexDSP library 2019-05-02 21:12:01 +00:00
FindSystemd.cmake CMake: rewrite FindSystemd.cmake file 2019-01-31 13:15:47 +00:00
FindWSLibrary.cmake CMake: Make FindWSLibrary compatible with older CMake 2019-10-02 09:55:44 +00:00
FindWSWinLibs.cmake Windows: Start using a `vcpkg export` bundle. 2019-03-18 22:22:44 +00:00
FindWiX.cmake HTTPS In More Places, update some URLs. 2019-07-27 07:55:36 +00:00
FindWinSparkle.cmake CMake: Fix WinSparkle discovery. 2020-02-12 13:42:38 +00:00
FindXSLTPROC.cmake CMake+docbook: Fixup our .chm titles. 2019-11-08 20:27:15 +00:00
FindYACC.cmake CMake,WSDG: Remove Cygwin support 2019-01-09 04:21:50 +00:00
FindZLIB.cmake Do FIND_PACKAGE_HANDLE_STANDARD_ARGS() before checking ZLIB_FOUND. 2019-04-25 03:10:04 +00:00
FindZSTD.cmake cmake: fix issue when zstd is missing. 2019-08-28 16:51:01 +00:00
LICENSE.txt Remove some $Id$ lines 2014-07-12 14:31:51 +00:00
LocatePythonModule.cmake CMake: try harder to find the right Python version 2019-01-10 06:42:08 +00:00
UseAsn2Wrs.cmake Require Python 3, drop Python 2 support 2018-11-07 20:46:59 +00:00
UseCheckAPI.cmake Add checkAPI calls to CMake. 2016-05-02 12:01:24 +00:00
UseCustomIncludes.cmake CMake: Don't go on about "custom files" 2019-01-13 07:15:40 +00:00
UseExecutableResources.cmake Windows: fix RC information generation 2018-11-06 21:56:39 +00:00
UseLemon.cmake lemon: sync with upstream (2018-09-08) 2018-10-21 07:00:05 +00:00
UseMakePluginReg.cmake Rename UseMakeDissectorReg.cmake 2017-11-20 21:31:38 +00:00
UseMakeTaps.cmake Rewrite make-{dissectors,taps} in Python 2018-06-11 17:01:05 +00:00
WiresharkPlugin.cmake CMake: do not set an invalid INSTALL_RPATH for (plugin) libraries 2019-01-19 23:41:43 +00:00
gmxTestLargeFiles.cmake Clean up tests. 2018-07-20 21:57:04 +00:00
hhc.cmake CMake: Migrate to hhc.cmake. 2015-01-09 17:49:37 +00:00
readme.txt More SVN properties cleanup. 2013-10-27 01:11:15 +00:00

readme.txt

The following modules have been copied from CMake trunk _without_ modifications:

* FindZLIB.cmake