On Wed, Jul 08, 2026 at 11:15:19PM +0200, Jeremie Courreges-Anglas wrote:
> Instead, do you know of any cmake magic that would
> silence those rather pointless warnings?

This would be a way to disable the warnings.  But I'm not sure we want
that either...


Index: cmake.port.mk
===================================================================
RCS file: /cvs/ports/devel/cmake/cmake.port.mk,v
diff -u -p -r1.92 cmake.port.mk
--- cmake.port.mk       6 Jul 2026 09:22:29 -0000       1.92
+++ cmake.port.mk       8 Jul 2026 21:24:10 -0000
@@ -13,6 +13,8 @@ CONFIGURE_ENV += MODCMAKE_USE_SHARED_LIB
 MAKE_ENV += MODCMAKE_USE_SHARED_LIBS=yes
 .endif
 
+CONFIGURE_ARGS +=      --no-warn-unused-cli
+
 USE_NINJA ?= Yes
 
 .if ${USE_NINJA:L} == "yes"


-- 
jca

Reply via email to