summaryrefslogtreecommitdiff
path: root/CMakeLists.txt
diff options
context:
space:
mode:
authorThorbjørn Lindeijer <bjorn@lindeijer.nl>2024-02-04 20:59:52 +0100
committerThorbjørn Lindeijer <bjorn@lindeijer.nl>2024-02-05 15:04:28 +0100
commitffa8ea13fbf50ad59d9fc4cea71b9aec4aca8bac (patch)
treecb9a383441d1f5842c6ab6333f62c6eaffd59482 /CMakeLists.txt
parent81413b5e4cf24ece22c57abf09bf44816ec3bf3a (diff)
downloadmana-ffa8ea13fbf50ad59d9fc4cea71b9aec4aca8bac.tar.gz
mana-ffa8ea13fbf50ad59d9fc4cea71b9aec4aca8bac.tar.bz2
mana-ffa8ea13fbf50ad59d9fc4cea71b9aec4aca8bac.tar.xz
mana-ffa8ea13fbf50ad59d9fc4cea71b9aec4aca8bac.zip
Require PhysFS 3.0
It seems the implementation of PhysicsFS RWops shipped requires a somewhat up-to-date PhysFS (beyond just a missing PHYSFS_DECL macro). Also simplified CMake files somewhat, enabling new behavior for some policies that were triggering warnings. And removed the no longer used FindSDL_gfx.cmake module (SDL_gfx is found using pkg-config since 2c51c98625b225cecfb9628c30d62d4e30f7e3e1).
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt3
1 files changed, 1 insertions, 2 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index afbb6f5a..430fdbc0 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -1,5 +1,4 @@
-CMAKE_MINIMUM_REQUIRED(VERSION 3.1)
-CMAKE_POLICY(VERSION 3.1)
+CMAKE_MINIMUM_REQUIRED(VERSION 3.1...3.27)
PROJECT(MANA)