You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The use of CACHE in the SNMALLOC_STATIC_LIBRARY_PREFIX was not correctly handled by cmake before 3.21.
> The “set(CACHE)” command no longer removes a normal variable of the
same name, if any. See policy “CMP0126”.
Changing the minimum version means that containing projects can do:
```CMake
set(SNMALLOC_STATIC_LIBRARY_PREFIX "my_prefix")
```
Without this, there were weird behaviours that the first compile used "sn_" and then subsequent compiles used "my_prefix".
Thanks to @achamayou for debugging this in CCF. microsoft/CCF#7161
0 commit comments