Skip to content

Commit

Permalink
fix demo build error
Browse files Browse the repository at this point in the history
  • Loading branch information
wysaid committed Jan 5, 2025
1 parent 57d518e commit 95b30ab
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions tasks.sh
Original file line number Diff line number Diff line change
Expand Up @@ -132,6 +132,9 @@ while [[ $# > 0 ]]; do
--target)
echo "set build target to $2"
export BUILD_TARGET="$2"
if [[ $BUILD_TARGET == "demos" ]]; then
export CMAKE_CONFIG_DEFINE="$CMAKE_CONFIG_DEFINE -DEGE_BUILD_DEMO=ON"
fi
shift
shift
;;
Expand Down
2 changes: 1 addition & 1 deletion utils/deploy.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ EGE_DIR=$(pwd)
cd utils

# 先执行一遍 release.sh
./release.sh
./release.sh || exit 1

if [[ ! -d "xege_libs/.git" ]]; then
git clone [email protected]:wysaid/xege.org.git xege_libs
Expand Down

0 comments on commit 95b30ab

Please sign in to comment.