From 44df1bccfc69f8390fd405828d469a250f5397a2 Mon Sep 17 00:00:00 2001 From: Bertrand Jacquin Date: Sat, 17 Oct 2020 22:49:17 +0100 Subject: [PATCH] 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 --- src/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index c7822ee7..b3f7fa4a 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -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 )