Wireshark-commits: [Wireshark-commits] master ccd2512: CMake+macOS: Allow the use of ENV{CMAKE_PREF

From: Wireshark code review <code-review-do-not-reply@xxxxxxxxxxxxx>
Date: Wed, 20 Jun 2018 09:19:59 +0000
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=ccd2512602913b6b89a98878cbcc16d6c6d3ee1c
Submitter: Peter Wu (peter@xxxxxxxxxxxxx)
Changed: branch: master
Repository: wireshark

Commits:

ccd2512 by Gerald Combs (gerald@xxxxxxxxxxxxx):

    CMake+macOS: Allow the use of ENV{CMAKE_PREFIX_PATH}.
    
    If we find /usr/local/opt/qt5, pass it as a PATHS option to find_package
    instead of adding it to the CMAKE_PREFIX_PATH CMake variable. This
    allows setting a Qt path via the CMAKE_PREFIX_PATH environment variable.
    
    Change-Id: I5d23fcd092c0ea137482253f3f86c1a6d27f7a5e
    Reviewed-on: https://code.wireshark.org/review/28341
    Reviewed-by: Gerald Combs <gerald@xxxxxxxxxxxxx>
    Petri-Dish: Gerald Combs <gerald@xxxxxxxxxxxxx>
    Petri-Dish: Peter Wu <peter@xxxxxxxxxxxxx>
    Tested-by: Petri Dish Buildbot
    Reviewed-by: Peter Wu <peter@xxxxxxxxxxxxx>
    

Actions performed:

    from  1b4b5e5   RTP: Encapsulation of comparsion of two rtpstreams
    adds  ccd2512   CMake+macOS: Allow the use of ENV{CMAKE_PREFIX_PATH}.


Summary of changes:
 CMakeLists.txt | 31 ++++++++++++++++++-------------
 1 file changed, 18 insertions(+), 13 deletions(-)