Fix compilation with latest cmake

This commit is contained in:
xawotihs
2025-04-11 21:58:54 +02:00
parent d4cb3e8384
commit d95e9e1155
4 changed files with 16 additions and 8 deletions

View File

@@ -1,4 +1,4 @@
cmake_minimum_required(VERSION 2.8.7)
cmake_minimum_required(VERSION 4.0)
if(CMAKE_MAJOR_VERSION STRGREATER 3)
cmake_policy(SET CMP0054 NEW)
endif()