aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Support/MathExtras.cpp
diff options
context:
space:
mode:
authorRichard Smith <richard-llvm@metafoo.co.uk>2014-09-26 21:33:05 +0000
committerRichard Smith <richard-llvm@metafoo.co.uk>2014-09-26 21:33:05 +0000
commit571b0b9eded662de1b7b596f22b4fc6688fe96e7 (patch)
tree1b4cd05b54588d4fa3f17eb2b6ff636258085a8b /llvm/lib/Support/MathExtras.cpp
parent58ae9ae23a67821154eac11421c55d5b1139e0ac (diff)
downloadllvm-571b0b9eded662de1b7b596f22b4fc6688fe96e7.zip
llvm-571b0b9eded662de1b7b596f22b4fc6688fe96e7.tar.gz
llvm-571b0b9eded662de1b7b596f22b4fc6688fe96e7.tar.bz2
Fix misinterpretation of CMake rule found by a CMake warning (related to CMP0054).
lldb sets the variable SHARED_LIBRARY to 1, which breaks this conditional, because older versions of CMake interpret if ("${t}" STREQUAL "SHARED_LIBRARY") as meaning if ("${t}" STREQUAL "1") in this case. Change the conditional so it does the right thing with both old and new CMakes. llvm-svn: 218542
Diffstat (limited to 'llvm/lib/Support/MathExtras.cpp')
0 files changed, 0 insertions, 0 deletions