File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -12,8 +12,10 @@ mkdir -p "$BUILD_DIR"
1212
1313if [[ " $PLATFORM " == " win64" ]] || [[ " $PLATFORM " == " win32" ]]; then
1414 cmake -B " $BUILD_DIR " -G " Ninja" -DCMAKE_BUILD_TYPE=Release -DSCRATCHCPP_PLAYER_BUILD_UNIT_TESTS=OFF || exit 3
15+ elif [[ " $PLATFORM " == " linux" ]]; then
16+ cmake -B " $BUILD_DIR " -DCMAKE_USE_SYSTEM_TAR=1 -DCMAKE_BUILD_TYPE=Release -DSCRATCHCPP_PLAYER_BUILD_UNIT_TESTS=OFF -DCMAKE_PREFIX_PATH=" $QT_ROOT_DIR " -DCMAKE_TOOLCHAIN_FILE=" $BUILD_TOOLCHAIN_CONFIG " -DCMAKE_FIND_ROOT_PATH=" $QT_ROOT_DIR " -DQT_HOST_PATH=" $QT_HOST_PATH " -DQT_HOST_CMAKE_DIR=" $QT_HOST_PATH /lib/cmake" || exit 3
1517elif [[ " $PLATFORM " == " linux_aarch64" ]]; then
16- cmake -B " $BUILD_DIR " -DCMAKE_BUILD_TYPE=Release -DSCRATCHCPP_PLAYER_BUILD_UNIT_TESTS=OFF -DCMAKE_PREFIX_PATH= " $QT_ROOT_DIR " -DCMAKE_TOOLCHAIN_FILE= " $BUILD_TOOLCHAIN_CONFIG " -DCMAKE_FIND_ROOT_PATH= " $QT_ROOT_DIR " -DQT_HOST_PATH= " $QT_HOST_PATH " -DQT_HOST_CMAKE_DIR= " $QT_HOST_PATH /lib/cmake "
18+ cmake -B " $BUILD_DIR " -DCMAKE_USE_SYSTEM_TAR=1 - DCMAKE_BUILD_TYPE=Release -DSCRATCHCPP_PLAYER_BUILD_UNIT_TESTS=OFF || exit 3
1719else
1820 cmake -B " $BUILD_DIR " -DCMAKE_BUILD_TYPE=Release -DSCRATCHCPP_PLAYER_BUILD_UNIT_TESTS=OFF || exit 3
1921fi
You can’t perform that action at this time.
0 commit comments