diff options
author | Peter Wu <peter@lekensteyn.nl> | 2018-11-18 03:14:42 +0100 |
---|---|---|
committer | Anders Broman <a.broman58@gmail.com> | 2018-11-18 07:20:41 +0000 |
commit | 923d719f2b64a7fedc4ff06561e20e28c42a5c3c (patch) | |
tree | 904c93591e1cdc802a3d6a9b5fe24b09b8226fd8 /manuf | |
parent | 93361b9977522070bd41e830965043734f5bb539 (diff) |
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@lekensteyn.nl>
Tested-by: Petri Dish Buildbot
Reviewed-by: Anders Broman <a.broman58@gmail.com>
Diffstat (limited to 'manuf')
0 files changed, 0 insertions, 0 deletions