Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Upgrade to new enough CMake to avoid deprecation notices #244

Merged
merged 1 commit into from
Jul 22, 2023

Conversation

ChrisThrasher
Copy link
Member

As of CMake 3.27 I'm getting the following error when configuring ImGui-SFML

CMake Deprecation Warning at build/_deps/imgui-sfml-src/CMakeLists.txt:1 (cmake_minimum_required):
  Compatibility with CMake < 3.5 will be removed from a future version of
  CMake.

  Update the VERSION argument <min> value or use a ...<max> suffix to tell
  CMake that the project does not need compatibility with older versions.

CMake 3.1 is VERY old at this point in the year 2023 and it's safe to assume that noboby is using a CMake version older than 3.10 or perhaps even 3.16.

As of CMake 3.27 I'm getting the following error when configuring
ImGui-SFML

CMake Deprecation Warning at build/_deps/imgui-sfml-src/CMakeLists.txt:1 (cmake_minimum_required):
  Compatibility with CMake < 3.5 will be removed from a future version of
  CMake.

  Update the VERSION argument <min> value or use a ...<max> suffix to tell
  CMake that the project does not need compatibility with older versions.

CMake 3.1 is VERY old at this point in the year 2023 and it's safe
to assume that noboby is using a CMake version older than 3.10 or
perhaps even 3.16.
@ChrisThrasher ChrisThrasher merged commit c063ec6 into master Jul 22, 2023
22 checks passed
@ChrisThrasher ChrisThrasher deleted the cmake_version branch July 22, 2023 07:33
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.

None yet

2 participants