cmake: raise minimum required to 3.5

CMake 4.0 was released [1] which dropped compatibility with versions
older than 3.5 and causes cmake_minimum_required(3.4) to fail.
Bump the minimum required version to 3.5, which was released 9 years
ago.

[1] https://www.kitware.com/cmake-4-0-0-available-for-download/

With v4.0.0 the following build error is observed:

  |  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.

Acked-by: Jerome Forissier <jerome.forissier@linaro.org>
Acked-by: Jens Wiklander <jens.wiklander@linaro.org>
Signed-off-by: Sudeep Holla <sudeep.holla@arm.com>
3 files changed
tree: 721504a64efcbd49c5c3439c246748cc3e1cc4fd
  1. .github/
  2. br-ext/
  3. fvp/
  4. imx/
  5. kconfigs/
  6. nanopc-t6/
  7. qemu_v8/
  8. rpi3/
  9. stm32mp/
  10. ti/
  11. versal/
  12. versal2/
  13. zynqmp/
  14. .gitignore
  15. am43xx.mk
  16. am57xx.mk
  17. common.mk
  18. dra7xx.mk
  19. fvp-psa-sp.mk
  20. fvp.mk
  21. hikey.mk
  22. hikey960.mk
  23. imx.mk
  24. imx8mp-evk.inc.mk
  25. imx8mp-verdin.inc.mk
  26. juno.mk
  27. LICENSE
  28. nanopc-t6.mk
  29. poplar.mk
  30. qemu-check.exp
  31. qemu.mk
  32. qemu_v8.mk
  33. README.md
  34. rockpi4.mk
  35. rpi3.mk
  36. rust.exp
  37. soc_term.py
  38. stm32mp1.mk
  39. synquacer.mk
  40. toolchain.mk
  41. trusted-keys.exp
  42. trusted-services.mk
  43. versal.mk
  44. versal2.mk
  45. versal_net.mk
  46. zynqmp.mk
README.md

OP-TEE build.git

This git contains makefiles etc to be able to build a full OP-TEE developer setup for the OP-TEE project.

All official OP-TEE documentation has moved to http://optee.readthedocs.io. The pages that used to be here in this git can be found under build and Device specific information at he new location for the OP-TEE documentation.

// OP-TEE core maintainers