nixpkgs/pkgs/by-name/me/megasync/megasync-fix-cmake-install-bindir.patch
2025-03-14 10:08:37 +01:00

13 lines
736 B
Diff

diff --git a/cmake/modules/desktopapp_configuration.cmake b/cmake/modules/desktopapp_configuration.cmake
index a14ac8669..e80c5e9f6 100644
--- a/cmake/modules/desktopapp_configuration.cmake
+++ b/cmake/modules/desktopapp_configuration.cmake
@@ -30,7 +30,6 @@ if(UNIX AND NOT APPLE)
# Used for building packages: in which install dir is a path construction folder that will not be there in packages
set(CMAKE_INSTALL_LIBDIR "opt/megasync/lib") # override default "lib" from GNUInstallDirs
- set(CMAKE_INSTALL_BINDIR "usr/bin") # override default "bin" from GNUInstallDirs
# Override CMAKE_INSTALL_PREFIX
if(CMAKE_INSTALL_PREFIX_INITIALIZED_TO_DEFAULT) # In consecutive runs it will always be undef/false