update all cmake files to version 3.9

other misc cmake fixes

version 3.9 allows for ipo (lto)
This commit is contained in:
2022-05-03 18:53:24 +02:00
parent 052bdb45ec
commit 6b06d5cb99
38 changed files with 96 additions and 45 deletions

View File

@ -13,7 +13,7 @@
# compile, using preprocessor checks for platform-specific bits instead of
# testing in here.
cmake_minimum_required(VERSION 3.0.2)
cmake_minimum_required(VERSION 3.9 FATAL_ERROR)
project(PhysicsFS)
set(PHYSFS_VERSION 3.1.0)