statically link glwf on windows and ubuntu

This commit is contained in:
2025-12-09 14:17:30 +03:00
parent dfbcdb6e1c
commit 0cee625e8b
6 changed files with 31 additions and 13 deletions

View File

@@ -35,6 +35,7 @@ build() {
cd "$pkgname-$pkgver"
cmake -B build -S . \
-DCMAKE_BUILD_TYPE=Release \
-DUSE_SYSTEM_GLFW=ON \
-DCMAKE_INSTALL_PREFIX=/usr
cmake --build build
}

View File

@@ -41,6 +41,7 @@ build() {
cd "$srcdir/$pkgname"
cmake -B build -S . \
-DCMAKE_BUILD_TYPE=Release \
-DUSE_SYSTEM_GLFW=ON \
-DCMAKE_INSTALL_PREFIX=/usr
cmake --build build
}

View File

@@ -35,6 +35,7 @@ build() {
cd "$pkgname-$pkgver"
cmake -B build -S . \
-DCMAKE_BUILD_TYPE=Release \
-DUSE_SYSTEM_GLFW=ON \
-DCMAKE_INSTALL_PREFIX=/usr
cmake --build build
}