You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When building abseil-cpp with CMake > 3.1 the string comparisons will fail if there exists a variable with the same name as the actual string.
Discovered when compiling abseil as part of a larger project, we had an option called shared in another subrepos CMake-files, and this collided with the check in AbseilHelpers.cpp causing it to hit this else() clause:
When building abseil-cpp with CMake > 3.1 the string comparisons will fail if there exists a variable with the same name as the actual string.
Discovered when compiling abseil as part of a larger project, we had an option called shared in another subrepos CMake-files, and this collided with the check in AbseilHelpers.cpp causing it to hit this else() clause:
abseil-cpp/CMake/AbseilHelpers.cmake
Line 180 in 9927a09
Some debugging suggests this can be solved by changing the comparisons from e.g.
to
or by using
for CMake > 3.1
Somewhere in our CMake-files we set the CMake policy to:
which should result in it using the NEW behaviour that causes the STREQUALs to fail since it now dereferences everything.
The text was updated successfully, but these errors were encountered: