Bump cmake_minimum_required 3.0 -> 3.16 (CMake 4.x compatibility)#11
Merged
Conversation
CMake 4.x removed support for declared minimums below 3.5, so the old 3.0 floor fails to configure on recent toolchains (e.g. tdaq-13-00-00 / CMake 4.3.1). 3.16 matches the quasar framework's standardized minimum (>=3.5 for CMake 4.x, <=3.26 for AlmaLinux 9) and keeps mule consistent with the rest of the ecosystem. Demo/CMakeLists.txt aligned to 3.16 too.
parasxos
added a commit
that referenced
this pull request
Jun 7, 2026
CMake 4.x removed support for declared minimums below 3.5, so the old 3.0 floor fails to configure on recent toolchains (e.g. tdaq-13-00-00 / CMake 4.3.1). 3.16 matches the quasar framework's standardized minimum (>=3.5 for CMake 4.x, <=3.26 for AlmaLinux 9) and keeps mule consistent with the rest of the ecosystem. Demo/CMakeLists.txt aligned to 3.16 too.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
Bump
cmake_minimum_requiredfrom 3.0 to 3.16 in the rootCMakeLists.txt(and 3.10 -> 3.16 inDemo/CMakeLists.txtfor consistency).Why
CMake 4.x removed support for declared minimums below 3.5, so the old 3.0 floor is a hard configure failure on recent toolchains (e.g.
tdaq-13-00-00/ CMake 4.3.1) — the same failure mode as OPCUA-3334. 3.16 is the value the quasar framework is standardizing on (>=3.5 for CMake 4.x, <=3.26 for AlmaLinux 9's default CMake), keeping mule consistent with the rest of the ecosystem.No functional change beyond the minimum; mule already builds on CMake >> 3.16 on all supported platforms.