build-package: set CMAKE_FIND_ROOT_PATH_MODE_PROGRAM to NEVER
This commit is contained in:
parent
d825fb6191
commit
7bfe758c81
@ -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 \
|
||||
|
Loading…
Reference in New Issue
Block a user