You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to integrate tmxlite into my SFML based project and noticed a small issue while doing so. My version of cmake is:
$ cmake --version
cmake version 3.31.6
and while building tmxlite as part of my project I get the following deprecation warning:
[cmake] Cloning into 'tmxlite-src'...
[cmake] HEAD is now at 89eaddc Merge pull request #128 from mpartel/tileset-without-map
[cmake] CMake Deprecation Warning at build/Desktop-Debug/_deps/tmxlite-src/tmxlite/CMakeLists.txt:1 (cmake_minimum_required):
[cmake] Compatibility with CMake < 3.10 will be removed from a future version of
[cmake] CMake.
[cmake]
[cmake] Update the VERSION argument <min> value. Or, use the <min>...<max> syntax
[cmake] to tell CMake that the project requires at least <min> but has been updated
[cmake] to work with policies introduced by <max> or earlier.
Not an urgent issue to fix since everything still works, but with CMake 4.0 on the horizon I fear there's a fair chance that things will stop working in the near future, so perhaps it's time to update the minimum required CMake version :-)
The text was updated successfully, but these errors were encountered:
I can confirm it isn't working anymore in CMake 4.0:
CMake Error at thirdparty/tmxlite/tmxlite/CMakeLists.txt:1 (cmake_minimum_required):
Compatibility with CMake < 3.5 has been removed from 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.
Or, add -DCMAKE_POLICY_VERSION_MINIMUM=3.5 to try configuring anyway.
A workaround is to use -DCMAKE_POLICY_VERSION_MINIMUM=3.5 as suggested in the error, though it isn't ideal.
Hi,
I'm trying to integrate tmxlite into my SFML based project and noticed a small issue while doing so. My version of cmake is:
and while building tmxlite as part of my project I get the following deprecation warning:
Not an urgent issue to fix since everything still works, but with CMake 4.0 on the horizon I fear there's a fair chance that things will stop working in the near future, so perhaps it's time to update the minimum required CMake version :-)
The text was updated successfully, but these errors were encountered: