diff options
| author | Bertrand Jacquin <bertrand@jacquin.bzh> | 2020-10-17 22:49:17 +0100 |
|---|---|---|
| committer | Bertrand Jacquin <bertrand@jacquin.bzh> | 2020-10-17 23:08:21 +0100 |
| commit | 44df1bccfc69f8390fd405828d469a250f5397a2 (patch) | |
| tree | e4133c3d41c68588bc7763e456f9f7ab971b2230 /src/CMakeLists.txt | |
| parent | cb1f3ad0ce228b9c272df76838754e303b074a32 (diff) | |
| download | monzero-gui-44df1bccfc69f8390fd405828d469a250f5397a2.tar.gz monzero-gui-44df1bccfc69f8390fd405828d469a250f5397a2.tar.xz monzero-gui-44df1bccfc69f8390fd405828d469a250f5397a2.zip | |
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
Diffstat (limited to 'src/CMakeLists.txt')
| -rw-r--r-- | src/CMakeLists.txt | 2 |
1 files changed, 1 insertions, 1 deletions
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 ) |
