From 7bfe758c818b65e0a6a58033f045112e2bca1f72 Mon Sep 17 00:00:00 2001 From: Tom Yan Date: Sat, 6 Apr 2019 11:47:42 +0800 Subject: [PATCH] build-package: set CMAKE_FIND_ROOT_PATH_MODE_PROGRAM to NEVER --- scripts/build/configure/termux_step_configure_cmake.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/scripts/build/configure/termux_step_configure_cmake.sh b/scripts/build/configure/termux_step_configure_cmake.sh index a8ba47db7..617ff8ef6 100644 --- a/scripts/build/configure/termux_step_configure_cmake.sh +++ b/scripts/build/configure/termux_step_configure_cmake.sh @@ -30,6 +30,7 @@ termux_step_configure_cmake() { -DCMAKE_CXX_FLAGS="$CXXFLAGS $CPPFLAGS" \ -DCMAKE_LINKER="$TERMUX_STANDALONE_TOOLCHAIN/bin/$LD $LDFLAGS" \ -DCMAKE_FIND_ROOT_PATH=$TERMUX_PREFIX \ + -DCMAKE_FIND_ROOT_PATH_MODE_PROGRAM=NEVER \ -DCMAKE_FIND_ROOT_PATH_MODE_INCLUDE=ONLY \ -DCMAKE_FIND_ROOT_PATH_MODE_LIBRARY=ONLY \ -DCMAKE_INSTALL_PREFIX=$TERMUX_PREFIX \