Support static builds generically with CMake
BUILD_SHARED_LIBS is set before arguments from blueprints, which means this should not affect ones that mess with this setting explicitly, but those will also not automatically benefit from this.
BUILD_SHARED_LIBS is set before arguments from blueprints, which means this should not affect ones that mess with this setting explicitly, but those will also not automatically benefit from this.