git » timg.git » commit 25f5816

fix: add explicit CMAKE_GENERATOR

author Manuel Coenen
2025-10-06 07:17:02 UTC
committer Manuel Coenen
2025-10-06 07:17:43 UTC
parent 7568cc761205216926df38fb80034b336f62b2e4

fix: add explicit CMAKE_GENERATOR

Avoid build failure on alternative generator being set through environment variable.

.SRCINFO +1 -1
PKGBUILD +2 -1

diff --git a/.SRCINFO b/.SRCINFO
index fe11d31..d6c2cd5 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
 pkgbase = timg
 	pkgdesc = Terminal Image and Video Viewer
 	pkgver = 1.6.3
-	pkgrel = 1
+	pkgrel = 2
 	url = https://github.com/hzeller/timg
 	arch = any
 	license = GPL2
diff --git a/PKGBUILD b/PKGBUILD
index 7c17edc..bb7a648 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,7 +1,7 @@
 # Maintainer: Manuel Coenen <manuel.coenen@gmail.com>
 pkgname=timg
 pkgver=1.6.3
-pkgrel=1
+pkgrel=2
 pkgdesc="Terminal Image and Video Viewer"
 arch=('any')
 url="https://github.com/hzeller/timg"
@@ -17,6 +17,7 @@ build() {
 	mkdir build
 	cd build
 	cmake ../ \
+		-DCMAKE_GENERATOR="Unix Makefiles" \
 		-DCMAKE_INSTALL_PREFIX="${pkgdir}/usr" \
 		-DWITH_VIDEO_DEVICE=On \
 		-DWITH_OPENSLIDE_SUPPORT=On \