cmake: fix install targets

Binary should be installed in bin/ relative to CMAKE_INSTALL_PREFIX,
prior to this commit, monero-wallet-gui is installed in usr/ instead of
usr/bin

  -- Installing: image/usr/monero-wallet-gui

With this comment, file is installed in the right location:

  -- Installing: image/usr/bin/monero-wallet-gui

See: https://cmake.org/cmake/help/latest/command/install.html
This commit is contained in:
Bertrand Jacquin 2020-10-17 22:49:17 +01:00
parent cb1f3ad0ce
commit 44df1bccfc
No known key found for this signature in database
GPG Key ID: 5534871F2E2E93DA

View File

@ -178,5 +178,5 @@ add_custom_command(TARGET monero-wallet-gui POST_BUILD COMMAND ${CMAKE_COMMAND}
include(Deploy)
install(TARGETS monero-wallet-gui
DESTINATION ${CMAKE_INSTALL_PREFIX}
DESTINATION bin
)