Require Cmake 3.6 or higher

This gets rid of deprecation warnings. Cmake 3.6 has been out for almost 8 years by now, so this requirement should not cause undue trouble to people trying to compile the game.
This commit is contained in:
Alayan
2024-05-21 14:06:16 +02:00
parent 48764a6202
commit 7d4e8433c1
7 changed files with 7 additions and 17 deletions

View File

@@ -39,7 +39,7 @@ set(VERSION "0.1.0")
### CMake configuration
cmake_minimum_required(VERSION 2.4)
cmake_minimum_required(VERSION 3.6.0)
if(COMMAND cmake_policy)
CMAKE_POLICY(SET CMP0003 NEW)
endif(COMMAND cmake_policy)