diff --git a/scripts/build/configure/termux_step_configure_cmake.sh b/scripts/build/configure/termux_step_configure_cmake.sh index e1af9afb20976e..a3d3683ca4ee19 100644 --- a/scripts/build/configure/termux_step_configure_cmake.sh +++ b/scripts/build/configure/termux_step_configure_cmake.sh @@ -45,6 +45,7 @@ termux_step_configure_cmake() { -DCMAKE_FIND_ROOT_PATH_MODE_PROGRAM=NEVER \ -DCMAKE_FIND_ROOT_PATH_MODE_INCLUDE=ONLY \ -DCMAKE_FIND_ROOT_PATH_MODE_LIBRARY=ONLY \ + -DCMAKE_FIND_USE_INSTALL_PREFIX=OFF \ -DCMAKE_INSTALL_PREFIX=$TERMUX_PREFIX \ -DCMAKE_INSTALL_LIBDIR=$TERMUX_PREFIX/lib \ -DCMAKE_MAKE_PROGRAM=$MAKE_PROGRAM_PATH \