Closed alehaa closed 7 years ago
As far as I understand the CMake policy CMP0051
, the warning will be printed, because FindSanitizers.cmake
scans for a target with generator expressions in the sources.
As this is no issue of this CMake module, but the including project, this project should set the policy instead of this CMake module. There should be no additional overhead, as either CMP0051
or for this patch CMP0011
must be set, so I'll close this patch now.
To avoid error messages about CMP0051, this policy will be set to new.
This will throw a warning about CMP0011, but this has to be set only once for the whole project: