intel / intel/confidential-computing.sgx
build error with cmake 4.2.3
- Dominant language
- C++
- Stars
- 1.5k
- Forks
- 565
- PR merge metrics
- No merged PRs in 30d
Description
Recent versions of CMake (starting from around 3.25+) removed compatibility with versions older than 3.5. So lots of components of SGX have CMakeLists.txt requests an old version, CMake refuses to run.
---
CMake Error at /home/ubuntu/DCAP/linux-sgx-2.28/external/openmp/openmp_code/final/build/CMak\
eFiles/CMakeTmp/link_flag_check_LIBOMP_HAVE_X_FLAG/CMakeLists.txt:1 (cmake_minimum_required)\
:
Compatibility with CMake < 3.5 has been removed from CMake.
Update the VERSION argument value. Or, use the ... syntax
to tell CMake that the project requires at least but has been updated
to work with policies introduced by or earlier.
Or, add -DCMAKE_POLICY_VERSION_MINIMUM=3.5 to try configuring anyway.
Contributor guide
Assessment
This issue has not been assessed yet.