mirror of
https://github.com/termux-pacman/termux-packages.git
synced 2026-02-11 12:20:52 +00:00
- Fixes https://github.com/termux/termux-packages/issues/24003 - Continuation of https://github.com/termux/termux-packages/pull/24320 - Tested working to run `mega-cmd` followed by `mega-cmd`'s `ls` and `cat` subcommands on a device that is logged into a MEGA account
19 lines
1014 B
Diff
19 lines
1014 B
Diff
--- a/CMakeLists.txt
|
|
+++ b/CMakeLists.txt
|
|
@@ -25,6 +25,7 @@
|
|
## Modules location
|
|
list(APPEND CMAKE_MODULE_PATH ${CMAKE_CURRENT_LIST_DIR}/build/cmake/modules) # Modules from MEGAcmd
|
|
list(APPEND CMAKE_MODULE_PATH ${CMAKE_CURRENT_LIST_DIR}/sdk/cmake/modules) # Modules from MEGAsdk
|
|
+list(APPEND CMAKE_MODULE_PATH ${CMAKE_CURRENT_LIST_DIR}/sdk/cmake/modules/packages)
|
|
|
|
set(VCPKG_ROOT "${CMAKE_CURRENT_LIST_DIR}/../vcpkg" CACHE PATH "If set, it will build and use the VCPKG packages defined in the manifest file")
|
|
|
|
@@ -136,7 +136,6 @@
|
|
# Note: using cmake --install --prefix /some/prefix will not set rpath relative to that prefix
|
|
# The above can be 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/megacmd/lib")
|
|
- set(CMAKE_INSTALL_BINDIR "usr/bin") #override default "bin"
|
|
|
|
if(CMAKE_INSTALL_PREFIX_INITIALIZED_TO_DEFAULT)
|
|
message(STATUS "Overriding default CMAKE_INSTALL_PREFIX to /")
|