Skip to content

Bump cmake minimum required version to 3.10 - #2226

Merged
wtdcode merged 1 commit into
unicorn-engine:devfrom
scribam:cmake-minimum-required
Aug 8, 2025
Merged

Bump cmake minimum required version to 3.10#2226
wtdcode merged 1 commit into
unicorn-engine:devfrom
scribam:cmake-minimum-required

Conversation

@scribam

@scribam scribam commented Aug 5, 2025

Copy link
Copy Markdown
Contributor

Fix the following warning when using CMake 4.0:

CMake Deprecation Warning at CMakeLists.txt:4 (cmake_minimum_required):
  Compatibility with CMake < 3.10 will be removed from a future version of
  CMake.

  Update the VERSION argument <min> value.  Or, use the <min>...<max> syntax
  to tell CMake that the project requires at least <min> but has been updated
  to work with policies introduced by <max> or earlier.

@wtdcode

wtdcode commented Aug 6, 2025

Copy link
Copy Markdown
Member

I can't recall why we stick to this old version but is it possible to do the <min>...<max> way?

@scribam

scribam commented Aug 7, 2025

Copy link
Copy Markdown
Contributor Author

I can't recall why we stick to this old version but is it possible to do the <min>...<max> way?

Yes, done

@wtdcode
wtdcode merged commit 94847a9 into unicorn-engine:dev Aug 8, 2025
44 checks passed
@wtdcode

wtdcode commented Aug 8, 2025

Copy link
Copy Markdown
Member

Cool, thanks

@scribam
scribam deleted the cmake-minimum-required branch August 8, 2025 06:16
K4ddate pushed a commit to K4ddate/unicorn that referenced this pull request Sep 16, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants