Bump required CMake version to 3.12

I was only able to test 3.8 because of my Pi, but since I've updated
Raspbian, it doesn't use that version anymore, so I can't guarantee
it works.
This commit is contained in:
Clownacy 2020-03-14 19:27:32 +00:00
parent d80d7ed8c8
commit 1dccec0e31

View file

@ -1,12 +1,4 @@
cmake_minimum_required(VERSION 3.7.2)
if((${CMAKE_VERSION} VERSION_EQUAL 3.9) OR (${CMAKE_VERSION} VERSION_GREATER 3.9))
cmake_policy(SET CMP0069 NEW)
endif()
if((${CMAKE_VERSION} VERSION_EQUAL 3.11) OR (${CMAKE_VERSION} VERSION_GREATER 3.11))
cmake_policy(SET CMP0072 NEW)
endif()
cmake_minimum_required(VERSION 3.12)
set(ASSETS_DIRECTORY "${CMAKE_CURRENT_SOURCE_DIR}/assets")