Wireshark-commits: [Wireshark-commits] master-2.6 4fbc017: CMake: Fix build from tarball under cert

From: Wireshark code review <code-review-do-not-reply@xxxxxxxxxxxxx>
Date: Sun, 16 Sep 2018 09:06:28 +0000
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=4fbc017e80d6d11f8c26cad12d883fd6da9d3504
Submitter: "João Valverde <j@xxxxxx>"
Changed: branch: master-2.6
Repository: wireshark

Commits:

4fbc017 by João Valverde (joao.valverde@xxxxxxxxxxxxxxxxxx):

    CMake: Fix build from tarball under certain conditions
    
    RPM target has a hard dependency on a git checkout. When building
    from a tarbal the cmake step fails on systems with rpmbuild and git
    installed. Make that failure more rare by testing for the presence
    of a .git subfolder, which 99% of the time implies a working git VCS.
    
    Change-Id: I9e035fd0b192ae0e0fbe98599799f19dbf31263d
    Reviewed-on: https://code.wireshark.org/review/29653
    Petri-Dish: João Valverde <j@xxxxxx>
    Tested-by: Petri Dish Buildbot
    Reviewed-by: João Valverde <j@xxxxxx>
    

Actions performed:

    from  05c9c6c   [Automatic update for 2018-09-16]
     add  4fbc017   CMake: Fix build from tarball under certain conditions


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