I configured cmake using a custom install prefix, but installation fails because it tries to copy file into /usr instead of the expected prefix.
Install the project...
-- Install configuration: ""
-- Installing: /home/clement/opt/TIC-80/bin/tic80
-- Installing: /usr/share/applications/tic80.desktop
CMake Error at cmake_install.cmake:65 (file):
file INSTALL cannot copy file
"/home/clement/src/TIC-80/build/linux/tic80.desktop" to
"/usr/share/applications/tic80.desktop": Permission denied.