Hi David,

On Wed, Dec 23, 2015 at 2:17 AM, David Faure <[email protected]> wrote:
>> Please try
>>
>>   if ("x${second_PARAM}x" STREQUAL "xTESTx")
>
> This looks like it should work, but isn't that an awful workaround?
> Are we back to shell/autoconf programming from 1990?

It is preferable to actually set the policy.


> Surely cmake can make the difference between a keyword (TEST)
> and a string ("TEST") ?

Patches that include tests would be welcome. Note that it will have to
cover all cases of CMP0054:

  
https://cmake.org/cmake/help/v3.4/policy/CMP0054.html?highlight=policy#policy:CMP0054

HTH,
Matt

PS. Please send these questions on the appropriate mailing list (cmake-users).
_______________________________________________
Kde-buildsystem mailing list
[email protected]
https://mail.kde.org/mailman/listinfo/kde-buildsystem

Reply via email to