Build fails when using Ninja generator

Currently build fails when using Ninja generator, it's related to a bit different mechanism of scanning dependencies (more details).

How to reproduce:

cmake -GNinja -B build
cmake --build build --config Release

Build error:

ninja: error: 'crc32c/lib/libcrc32c.a', needed by 'libsdapi.so.0.0.0', missing and no known rule to make it