Skip to content

Malena 1.1.2

Choose a tag to compare

@daversmith daversmith released this 06 Sep 16:07
· 8 commits to master since this release

The declared CMake minimum was wrong. Now it matches reality.

Malena advertised cmake_minimum_required(VERSION 3.14). It has never been buildable on 3.14 in its default configuration, because it fetches and builds SFML 3.0.2, and SFML itself requires:

cmake_minimum_required(VERSION 3.24)   # Windows
cmake_minimum_required(VERSION 3.22)   # everything else

A 3.14 configure never reaches Malena's own code — it stops inside SFML. The number was fiction, and 1.1.1 repeated it while citing a CMake 3.22 build as evidence, which proves nothing about 3.14.

The real requirement

platform minimum CMake
Windows 3.24 (SFML needs it for SYSTEM support in Visual Studio generators)
Linux / macOS 3.22

Ubuntu 22.04 LTS ships CMake 3.22.1, so the platform 1.1.1 set out to unbreak is still fully supported. Nothing that built before stops building.

Updated everywhere

The minimum, the README table, the explanatory prose, and every copy-paste cmake_minimum_required snippet in the README and on malena.app — including ones on the plugins page that still said 3.21.

Still relevant from 1.1.1

The SYSTEM guard stays: that keyword requires CMake 3.25, still above this floor. The EXCLUDE_FROM_ALL removal and the release-archive fetches for nlohmann/json and cpp-httplib (190 MB to 108 KB) are unchanged.

Verification

33/33 CI jobs green across Windows VS2022, Windows MSYS2, Linux GCC, Linux Clang, Ubuntu 22.04, Fedora, ArchLinux and macOS, shared and static.

No API changes

Nothing in your code needs to change.