[cmake-developers] Introduction and volunteering for the Matlab package

Brad King brad.king at kitware.com
Fri Feb 20 07:50:48 EST 2015


On 02/19/2015 04:58 PM, Raffi Enficiaud wrote:
> I just unset this variable before the call to the find_program,
> and now it works good.

Yes, this is expected.  If find_program sees that the variable is
already set then it assumes the value is correct.  The idea is
that projects can prevent the find from actually running by doing
their own thing to set the variable first.

-Brad



More information about the cmake-developers mailing list