kodi-platform icon indicating copy to clipboard operation
kodi-platform copied to clipboard

Allow build with CMake 4.0.0

Open heitbaum opened this issue 9 months ago • 0 comments

Update kodi-platform to require the same CMake as https://github.com/xbmc/xbmc/blob/master/CMakeLists.txt thus addressing the following build failure when compiling with cmake-4.0.0

CMake Error at CMakeLists.txt:3 (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.

heitbaum avatar Mar 28 '25 05:03 heitbaum