Files
UnrealEngine/Engine/Source/ThirdParty/OpenVDB/openvdb-12.0.0/ci/install_glfw.sh
2025-05-18 13:04:45 +08:00

20 lines
256 B
Bash

#!/usr/bin/env bash
set -ex
GLFW_VERSION="$1"
git clone https://github.com/glfw/glfw.git
cd glfw
if [ "$GLFW_VERSION" != "latest" ]; then
git checkout tags/${GLFW_VERSION} -b ${GLFW_VERSION}
fi
mkdir build
cd build
cmake ..
make -j8
make install