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: Joakim Bech <joakim.bech@linaro.org>
Acked-by: Jens Wiklander <jens.wiklander@linaro.org>
Acked-by: Etienne Carriere <etienne.carriere@foss.st.com>
Signed-off-by: Sudeep Holla <sudeep.holla@arm.com>
1 file changed
tree: 84d79f7ff20b2e1b9a1f962139220d99b03f0d24
  1. .github/
  2. acipher/
  3. aes/
  4. hello_world/
  5. hotp/
  6. plugins/
  7. random/
  8. secure_storage/
  9. .gitignore
  10. Android.mk
  11. CMakeLists.txt
  12. CMakeToolchain.txt
  13. LICENSE
  14. Makefile
  15. README.md
README.md

OP-TEE Sample Applications

This git contains source code for sample host and Trusted Application that can be used directly in the OP-TEE project.

All official OP-TEE documentation has moved to http://optee.readthedocs.io. The information that used to be here in this git can be found under optee_examples.

// OP-TEE core maintainers