Sometimes a library may require
cmake in order to compile. By default you only have
make available. An example would be
libgit2 how would you get this to work on platform.sh ?
You will need:
- An SSH key configured on your Platform.sh account
- A Platform.sh project and a
VERSION to the version of
cmake you want.
export VERSION="3.16.0-rc4" wget https://github.com/Kitware/CMake/releases/download/v$VERSION/cmake-$VERSION-Linux-x86_64.tar.gz tar xzf cmake-$VERSION-Linux-x86_64.tar.gz export PATH=$PATH:/$PWD/cmake-$VERSION-Linux-x86_64/bin
rm -rf /$PWD/cmake-$VERSION-Linux-x86_64
Any dependencies that require
cmake in their build should very probably work now.