Details
-
Bug
-
Status: Resolved
-
Blocker
-
Resolution: Fixed
-
3.4.0
-
Reviewed
Description
HDFS Native Client fails to build on Debian 10 due to the following error -
[WARNING] CMake Error at main/native/libhdfspp/CMakeLists.txt:68 (FetchContent_MakeAvailable): [WARNING] Unknown CMake command "FetchContent_MakeAvailable". [WARNING] [WARNING] [WARNING] -- Configuring incomplete, errors occurred!
This cause for this issue is that the version of CMake on Debian 10 (which is installed through apt) is 3.13 and FetchContent_MakeAvailable was introduced in CMake 3.14
Thus, we upgrade CMake by installing through the install-cmake.sh script from pkg-resolver which installs CMake 3.19.0, instead of installing CMake through apt on Debian 10.
Attachments
Issue Links
- links to