Note: This implementation is a bit more relaxed than what we do for non-cmake builds. Mainly because I'm not familiar enough with cmake to mirror what the non-cmake version does.
Note: This implementation is a bit more relaxed than what we do for non-cmake builds. Mainly because I'm not familiar enough with cmake to mirror what the non-cmake version does.