[GH-ISSUE #50] OpenWrt master requires at least CMake 3.5 #31

Closed
opened 2026-03-04 14:52:33 +03:00 by kerem · 0 comments
Owner

Originally created by @nemesifier on GitHub (Nov 17, 2025).
Original GitHub issue: https://github.com/f00b4r0/uspot/issues/50

Compiling uspot on the current master branch of OpenWrt fails with the following error:

CMake Error at 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.

This happens because recent versions of CMake require at least version 3.5, this file needs to be updated: https://github.com/f00b4r0/uspot/blob/next/src/CMakeLists.txt#L1.

Originally created by @nemesifier on GitHub (Nov 17, 2025). Original GitHub issue: https://github.com/f00b4r0/uspot/issues/50 Compiling uspot on the current master branch of OpenWrt fails with the following error: ``` CMake Error at 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. ``` This happens because recent versions of CMake require at least version 3.5, this file needs to be updated: https://github.com/f00b4r0/uspot/blob/next/src/CMakeLists.txt#L1.
kerem closed this issue 2026-03-04 14:52:33 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/uspot#31
No description provided.