summaryrefslogtreecommitdiff
path: root/Ports/quake2
diff options
context:
space:
mode:
authorJelle Raaijmakers <jelle@gmta.nl>2022-03-08 10:07:08 +0100
committerAndreas Kling <kling@serenityos.org>2022-03-08 15:32:23 +0100
commitf8bdb36f4ce23e303155d815a1e21a14ad2d236a (patch)
tree37bd5b82ccd95bc1cbb610364f4657018be72ea9 /Ports/quake2
parent9c2a7c0e03fcfcf32c89b7e51f921c88afbe41cf (diff)
downloadserenity-f8bdb36f4ce23e303155d815a1e21a14ad2d236a.zip
Ports: Add OpenGL include dir to quake2 build
Diffstat (limited to 'Ports/quake2')
-rwxr-xr-xPorts/quake2/package.sh5
1 files changed, 4 insertions, 1 deletions
diff --git a/Ports/quake2/package.sh b/Ports/quake2/package.sh
index 06c1821c7e..701453f133 100755
--- a/Ports/quake2/package.sh
+++ b/Ports/quake2/package.sh
@@ -5,7 +5,10 @@ workdir=SerenityQuakeII-master
useconfigure=true
files="https://github.com/SerenityPorts/SerenityQuakeII/archive/master.tar.gz quake2.tar.gz"
makeopts=()
-configopts=("-DCMAKE_TOOLCHAIN_FILE=${SERENITY_BUILD_DIR}/CMakeToolchain.txt")
+configopts=(
+ "-DCMAKE_TOOLCHAIN_FILE=${SERENITY_BUILD_DIR}/CMakeToolchain.txt"
+ "-DOPENGL_INCLUDE_DIR=${SERENITY_INSTALL_ROOT}/usr/include/LibGL"
+)
depends=("SDL2")
launcher_name=QuakeII
launcher_category=Games