CMP0064 broken?
Matt McCormick
matt.mccormick at kitware.com
Wed Dec 23 17:40:33 UTC 2015
Hi David,
On Wed, Dec 23, 2015 at 2:17 AM, David Faure <faure at kde.org> 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).
More information about the Kde-buildsystem
mailing list