Wireshark-commits: [Wireshark-commits] master 923d719: CMake: call cmake_minimum_required before pr

From: Wireshark code review <code-review-do-not-reply@xxxxxxxxxxxxx>
Date: Sun, 18 Nov 2018 07:20:48 +0000
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=923d719f2b64a7fedc4ff06561e20e28c42a5c3c
Submitter: "Anders Broman <a.broman58@xxxxxxxxx>"
Changed: branch: master
Repository: wireshark

Commits:

923d719 by Peter Wu (peter@xxxxxxxxxxxxx):

    CMake: call cmake_minimum_required before project
    
    cmake_minimum_required() MUST be called even before project(), otherwise
    some policies will not be correctly set. On the macOS build on Travis
    for example, CMP0025 was accidentally set to "OLD" which resulted in
    CMAKE_C_COMPILER_ID being reported as "Clang" instead of "AppleClang".
    
    Change-Id: I20065e621628cde24946edb519d719f527936d87
    Reviewed-on: https://code.wireshark.org/review/30685
    Petri-Dish: Peter Wu <peter@xxxxxxxxxxxxx>
    Tested-by: Petri Dish Buildbot
    Reviewed-by: Anders Broman <a.broman58@xxxxxxxxx>
    

Actions performed:

    from  93361b9   text2pcap: assure an IP next layer protocol is set
     add  923d719   CMake: call cmake_minimum_required before project


Summary of changes:
 CMakeLists.txt | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)