Bumped minimum CMake version to 3.5, closes #5302

This commit is contained in:
Morgan Hardwood
2019-04-24 16:36:29 +02:00
parent d8482d8e00
commit 3289835ca1

View File

@@ -1,8 +1,8 @@
cmake_minimum_required(VERSION 3.5)
# Compiler id for Apple Clang
if(APPLE)
cmake_minimum_required(VERSION 3.3)
cmake_policy(SET CMP0025 NEW)
else()
cmake_minimum_required(VERSION 2.8.8)
endif()
# Must stay before the project() command: