SIGN IN SIGN UP
flameshot-org / flameshot UNCLAIMED

Powerful yet simple to use screenshot software :desktop_computer: :camera_flash:

0 0 70 C++

Use ${CMAKE_INSTALL_PREFIX} to provide APP_PREFIX

Currently the value of $prefix is hardcoded in the source code.
This is not a good choice given we have switched to CMake and
that CMake provides the builtin variable ${CMAKE_INSTALL_PREFIX}
to provide this information.

This patch uses the value of ${CMAKE_INSTALL_PREFIX} to populate
flameshot's internal variable APP_PREFIX as well as using it
in generating the org.flameshot.Flameshot.service file with
a proper $prefix value (via CMAKE_INSTALL_FULL_BINDIR as provided
by GNUInstallDirs).
B
Boyuan Yang committed
a8fb73b668cbcd02587d81b52e628a38e38b5790
Parent: 5dba3de
Committed by borgmanJeremy <46930769+borgmanJeremy@users.noreply.github.com> on 9/5/2020, 1:43:35 AM