cmake
cmake copied to clipboard
Use CMake variables for shared/static library suffixes
I noticed this while adding Redis support to the storage framework branch. We can't hardcode .so
/.a
for all platforms because on Windows it's .dll
/.lib
and on macOS shared libraries are .dylib
. Use CMake variables to make these checks platform-independent.