From 104b5ec6d60c25af4f70a90222f31ddff1093bcb Mon Sep 17 00:00:00 2001 From: Lily Date: Sun, 3 Dec 2023 18:24:46 +0300 Subject: [TERMUX] Fix make install (#1106) --- CMakeLists.txt | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index eff9ec9e..6ef0038b 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -853,8 +853,13 @@ if(_x86_64 OR _aarch64) endif() if(NOT _x86 AND NOT _x86_64) - install(TARGETS ${BOX64} + if(NOT TERMUX) + install(TARGETS ${BOX64} RUNTIME DESTINATION bin) + else() + install(TARGETS ${BOX64} + RUNTIME DESTINATION ${TERMUX_PATH}/usr/bin) + endif() if(NOT NO_CONF_INSTALL) configure_file(system/box64.conf.cmake system/box64.conf) if(NOT TERMUX) -- cgit 1.4.1