Wireshark-commits: [Wireshark-commits] master 92ac2f5: cmake: fix issue when zstd is missing.

From: Wireshark code review <code-review-do-not-reply@xxxxxxxxxxxxx>
Date: Wed, 28 Aug 2019 16:51:08 +0000
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=92ac2f509915b73198d7f7beef6ede11983df524
Submitter: "Gerald Combs <gerald@xxxxxxxxxxxxx>"
Changed: branch: master
Repository: wireshark

Commits:

92ac2f5 by Dario Lombardo (lomato@xxxxxxxxx):

    cmake: fix issue when zstd is missing.
    
    We need to check the library version only when the it's present,
    otherwise we hit an error.
    
    Change-Id: I6323b19d0023d466bfb6ae4b5751f376fc213fa4
    Reviewed-on: https://code.wireshark.org/review/34387
    Petri-Dish: Dario Lombardo <lomato@xxxxxxxxx>
    Tested-by: Petri Dish Buildbot
    Reviewed-by: Anders Broman <a.broman58@xxxxxxxxx>
    Reviewed-by: Gerald Combs <gerald@xxxxxxxxxxxxx>
    

Actions performed:

    from  8806701   DOCSIS: FDX: Added decoding for SW-RBA
     add  92ac2f5   cmake: fix issue when zstd is missing.


Summary of changes:
 cmake/modules/FindZSTD.cmake | 22 ++++++++++++----------
 1 file changed, 12 insertions(+), 10 deletions(-)