yamagi-quake2: Set CMAKE_BUILD_TYPE

This commit is contained in:
Gerasim Troeglazov
2023-01-22 20:23:26 +10:00
parent 3e32203d67
commit 0c8ed791f7

View File

@@ -28,7 +28,7 @@ code is fully 64 bit clean and highly portable."
HOMEPAGE="https://www.yamagi.org/quake2/"
COPYRIGHT="OpenArena Team"
LICENSE="GNU GPL v2"
REVISION="1"
REVISION="2"
SOURCE_URI="https://deponie.yamagi.org/quake2/quake2-$portVersion.tar.xz"
CHECKSUM_SHA256="c7524567bf1aa6045f25619bea6e4fd9066284b3fb81863b581fb44f4f47ff65"
SOURCE_DIR="quake2-$portVersion"
@@ -73,7 +73,9 @@ BUILD()
{
mkdir -p build
cd build
cmake -DSDL2_INCLUDE_DIR=/system/$relativeIncludeDir ..
cmake .. \
-DCMAKE_BUILD_TYPE=Release \
-DSDL2_INCLUDE_DIR=/system/$relativeIncludeDir
make $jobArgs
}