X Tutup
Skip to content

install target on Linux does not follow CMAKE_INSTALL_PREFIX #1224

@cvuchener

Description

@cvuchener

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.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions

    X Tutup