Wireshark-commits: [Wireshark-commits] master 5ae6a9b: Do FIND_PACKAGE_HANDLE_STANDARD_ARGS() befor
From: Wireshark code review <code-review-do-not-reply@xxxxxxxxxxxxx>
Date: Thu, 25 Apr 2019 03:10:10 +0000
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=5ae6a9bea6ba943e6c674799a7b906b3dffed157
Submitter: "Guy Harris <guy@xxxxxxxxxxxx>"
Changed: branch: master
Repository: wireshark

Commits:

5ae6a9b by Guy Harris (guy@xxxxxxxxxxxx):

    Do FIND_PACKAGE_HANDLE_STANDARD_ARGS() before checking ZLIB_FOUND.
    
    It's what sets {package}_FOUND.
    
    Combine two "do this if zlib was found" blocks.
    
    Change-Id: I55062a11c7ae7e6f32886615a0201df55f700d1e
    Reviewed-on: https://code.wireshark.org/review/32974
    Petri-Dish: Guy Harris <guy@xxxxxxxxxxxx>
    Tested-by: Petri Dish Buildbot
    Reviewed-by: Guy Harris <guy@xxxxxxxxxxxx>
    

Actions performed:

    from  c669942   Don't look for zlib stuff if we didn't find zlib.
     add  5ae6a9b   Do FIND_PACKAGE_HANDLE_STANDARD_ARGS() before checking ZLIB_FOUND.


Summary of changes:
 cmake/modules/FindZLIB.cmake | 14 ++++++--------
 1 file changed, 6 insertions(+), 8 deletions(-)