Wireshark-commits: [Wireshark-commits] master 35fed45: Don't bother with CMAKE_C_STANDARD.

From: Wireshark code review <code-review-do-not-reply@xxxxxxxxxxxxx>
Date: Thu, 29 Mar 2018 06:16:38 +0000
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=35fed45a831e44e940b123b2ed2a3fbe1b70b21d
Submitter: Roland Knall (rknall@xxxxxxxxx)
Changed: branch: master
Repository: wireshark

Commits:

35fed45 by Guy Harris (guy@xxxxxxxxxxxx):

    Don't bother with CMAKE_C_STANDARD.
    
    It was introduced in CMake 3.1, so, unless we require CMake 3.1 or
    later, we'd have to manually try to enable C99 support on pre-3.1
    releases, so we might as well just do it manually all the time - it's
    not clear that CMAKE_C_STANDARD does it much better, especially give
    that, for example, it wasn't until CMake 3.9 that support for enabling
    C99 support in IBM XL C was added.
    
    Change-Id: I51038b90fd3d8ab5050c5da4441765b19db9091b
    Reviewed-on: https://code.wireshark.org/review/26648
    Reviewed-by: Peter Wu <peter@xxxxxxxxxxxxx>
    Petri-Dish: Peter Wu <peter@xxxxxxxxxxxxx>
    Tested-by: Petri Dish Buildbot
    Reviewed-by: Roland Knall <rknall@xxxxxxxxx>
    

Actions performed:

    from  f3952f6   DOCSIS: Making sure UCD contained in REGRSPMP does not overwrite the REGRSPMP info
    adds  35fed45   Don't bother with CMAKE_C_STANDARD.


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