Skip to content

Commit

Permalink
optimized
Browse files Browse the repository at this point in the history
Signed-off-by: leleliu008 <leleliu008@gmail.com>
  • Loading branch information
leleliu008 committed Apr 19, 2024
1 parent 8b253cd commit 77fcedb
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions ndk-pkg
Original file line number Diff line number Diff line change
Expand Up @@ -7936,7 +7936,9 @@ cmakew() {
esac

if [ "$LOG_LEVEL" -gt 0 ] ; then
run cat "$CMAKE_PROJECT_INCLUDE"
if [ -n "$CMAKE_PROJECT_INCLUDE" ] && [ -f "$CMAKE_PROJECT_INCLUDE" ] ; then
run cat "$CMAKE_PROJECT_INCLUDE"
fi
fi
fi

Expand Down Expand Up @@ -8052,7 +8054,7 @@ EOF

CMAKE_CONFIG_OPTIONS="-Wno-dev -DBUILD_TESTING=OFF -DCMAKE_INSTALL_LIBDIR='$PACKAGE_INSTALL_DIR/lib' -DCMAKE_INSTALL_PREFIX='$PACKAGE_INSTALL_DIR' -DCMAKE_TOOLCHAIN_FILE='$CMAKE_TOOLCHAIN_FILE' -DCMAKE_VERBOSE_MAKEFILE='$CMAKE_VERBOSE_MAKEFILE' -DCMAKE_COLOR_MAKEFILE='$CMAKE_COLOR_MAKEFILE'"

if [ -n "$CMAKE_PROJECT_INCLUDE" ] ; then
if [ -n "$CMAKE_PROJECT_INCLUDE" ] && [ -f "$CMAKE_PROJECT_INCLUDE" ] ; then
CMAKE_CONFIG_OPTIONS="$CMAKE_CONFIG_OPTIONS -DCMAKE_PROJECT_INCLUDE=$CMAKE_PROJECT_INCLUDE"
fi

Expand Down

0 comments on commit 77fcedb

Please sign in to comment.