right now version 3.10 of CMake is available in the OPKG, but some libraries need CMake 3.12 or higher to build. The current version of CMake is 3.21
The way to update CMake is to follow this short tutorial
1. Make sure you have you device prepped with the following commands:
opkg install packagegroup-core-buildessential
opkg install cmake
opkg install openssl-dev
2. After this we're going to download the latest version of cmake from their download page: https://cmake.org/download/
Select the Unix/Linux source and copy the url
3. Create a build folder on your home directory and move into that folder to download the cmake source and unpack it there
mkdir build
cd build
wget https://github.com/Kitware/CMake/releases/download/v3.21.1/cmake-3.21.1.tar.gz
tar -xf cmake-3.21.1.tar.gz
4. Go into the source folder and run the bootstrap file
cd cmake-3.21.1
./bootstrap
5. After completion you can run make
make
6. After compiling you can install it
make install
7. Check the correct version by executing
cmake -version
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.