git: d8feecdf7fdb - main - graphics/gdal: Fix build against poppler 24.12

From: Loïc Bartoletti <lbartoletti_at_FreeBSD.org>
Date: Wed, 12 Feb 2025 16:08:08 UTC
The branch main has been updated by lbartoletti:

URL: https://cgit.FreeBSD.org/ports/commit/?id=d8feecdf7fdb6514ad4b714e69b2045d8c297d52

commit d8feecdf7fdb6514ad4b714e69b2045d8c297d52
Author:     Loïc Bartoletti <lbartoletti@FreeBSD.org>
AuthorDate: 2025-02-07 06:09:57 +0000
Commit:     Loïc Bartoletti <lbartoletti@FreeBSD.org>
CommitDate: 2025-02-12 16:07:59 +0000

    graphics/gdal: Fix build against poppler 24.12
---
 graphics/gdal/Makefile | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/graphics/gdal/Makefile b/graphics/gdal/Makefile
index 7f3489082639..e9e7c3a80c38 100644
--- a/graphics/gdal/Makefile
+++ b/graphics/gdal/Makefile
@@ -54,7 +54,8 @@ CMAKE_OFF=	BUILD_CSHARP_BINDINGS \
 		GDAL_USE_TIFF_INTERNAL \
 		GDAL_USE_ZLIB_INTERNAL \
 		HDFS_ENABLED \
-		SWIG_REGENERATE_PYTHON
+		SWIG_REGENERATE_PYTHON \
+		CMAKE_CXX_SCAN_FOR_MODULES
 CMAKE_ON=	BUILD_APPS \
 		BUILD_SHARED_LIBS \
 		BUILD_STATIC_LIBS \