Monday, January 03, 2022

Re: devel/cmake: Disable find_package QUIET option in ports build

On Mon, Jan 03, 2022 at 09:52:12AM +0100, Rafael Sadowski wrote:
> Yes it will only work when we passe through *_ENV and not on the command line.
> But we already do that for some cmake modules. Check out devel/cmake/cmake.port.mk:
>
> 127 # Disable cmake's default optimization flags, putting them under ports control
> 128 CONFIGURE_ENV += MODCMAKE_PORT_BUILD=yes
> 129 MAKE_ENV += MODCMAKE_PORT_BUILD=yes

Ah, MODCMAKE_PORT_BUILD is already in use like that!

OK kn

No comments:

Post a Comment