beanz accepted this revision. beanz added a comment. This is a workaround predating CMake 3.1 when they fixed the underlying issues with the expansion of variables in STREQUAL. See: https://cmake.org/cmake/help/v3.1/policy/CMP0054.html. LGTM. https://reviews.llvm.org/D40744