[cmake-developers] [PATCH] UseSWIG.cmake CMP0054 fix

Brad King brad.king at kitware.com
Mon Mar 9 16:38:38 EDT 2015


On 03/09/2015 02:45 AM, Tuukka Pasanen wrote:
> As CMP0054 changes the way IF() works this patch fixes it in UseSWIG.cmake.

Actually CMP0054 fixes behavior that caused subtle logic breakage,
and the associated warning catches cases with potential breakage.
This is one such case.  Fixed:

 UseSWIG: Avoid if() auto-dereferene in quoted arguments
 http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=458c9e95

Thanks,
-Brad



More information about the cmake-developers mailing list