Skip to content
Snippets Groups Projects
Commit a7debb23 authored by Joseph Walton-Rivers's avatar Joseph Walton-Rivers
Browse files

don't prompt for admin password if not needed

parent de0771bf
No related branches found
No related tags found
No related merge requests found
Pipeline #3027 failed
......@@ -9,9 +9,11 @@ then
mkdir build
fi
sudo dnf install -y cmake
sudo dnf install -y wayland-devel libxkbcommon-devel wayland-protocols-devel extra-cmake-modules
sudo dnf install -y glew-devel glm-devel
if [ ! -x "$(command -v cmake)" ]; then
sudo dnf install -y cmake extra-cmake-modules
sudo dnf install -y wayland-devel libxkbcommon-devel wayland-protocols-devel
sudo dnf install -y glew-devel glm-devel
fi
# if doing shader development, disable the cache to make sure changes take affect
rm -rf $CACHE
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment