summaryrefslogtreecommitdiffstats
path: root/Utilities/Git
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2014-10-29 23:34:35 (GMT)
committerBrad King <brad.king@kitware.com>2014-10-30 15:11:49 (GMT)
commit59242702739b92f1a152e2a2bb32772638fdf5be (patch)
tree4a2ff78a870f52bb9dd9d098323e67915893d049 /Utilities/Git
parent8d311a813c8807a518631ae63cff55c537d3eb7e (diff)
downloadCMake-59242702739b92f1a152e2a2bb32772638fdf5be.zip
CMake-59242702739b92f1a152e2a2bb32772638fdf5be.tar.gz
CMake-59242702739b92f1a152e2a2bb32772638fdf5be.tar.bz2
curl: Simplify if() conditions on check result variables
Remove use of an old hack that takes advantage of the auto-dereference behavior of the if() command to detect if a variable is defined. The hack has the form: if("${VAR} MATCHES "^${VAR}$") where "${VAR}" is a macro argument reference. Use if(DEFINED) instead. This also avoids warnings for CMake Policy CMP0054.
Diffstat (limited to 'Utilities/Git')
0 files changed, 0 insertions, 0 deletions