ddiakopoulos / tinyply

:earth_africa: C++11 ply 3d mesh format importer & exporter
598 stars 118 forks source link

cmake_minimum_required(VERSION 2.8.12) #57

Closed nigels-com closed 2 years ago

nigels-com commented 2 years ago

We're using cmake 3.21 which is warning us as follows:

CMake Deprecation Warning at CMakeLists.txt:1 (cmake_minimum_required):
  Compatibility with CMake < 2.8.12 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.

The most obvious solution is to bump tinyply forward to requiring cmake 2.8.12. (released in Oct 2013)

ddiakopoulos commented 2 years ago

Thanks @nigels-com