I'm not sure what the "x..." form was needed for, but it looks super
old-school and unnecessary. Just reference the variable directly and
adjust the comparison strings accordingly.
Details
Details
Diff Detail
Diff Detail
- Build Status
Buildable 12688 Build 12688: arc lint + arc unit
Event Timeline
Comment Actions
Looks like a carry-over from the autoconf conversion (where it is used to deal with a posix sh limitation.
Comment Actions
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.