blob: 849fc32da5e1144e05eb8f4217905fd2dcd51923 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
|
From 44df1bccfc69f8390fd405828d469a250f5397a2 Mon Sep 17 00:00:00 2001
From: Bertrand Jacquin <bertrand@jacquin.bzh>
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
See: https://github.com/monero-project/monero-gui/pull/3172
---
src/CMakeLists.txt | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
index c7822ee7690e..b3f7fa4aaed3 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
)
|