Fix a typo.

This commit is contained in:
Victor Zverovich
2014-01-07 11:34:32 -08:00
parent be17d14544
commit 482472ebc5

View File

@@ -12,7 +12,7 @@ function (expect_compile_error code)
" compiles) " compiles)
set (does_compile ${compiles}) set (does_compile ${compiles})
# Unset the CMake cache variable compiles. Otherwise the compile test will # Unset the CMake cache variable compiles. Otherwise the compile test will
# just used cached information next time it runs. # just use cached information next time it runs.
unset(compiles CACHE) unset(compiles CACHE)
if (does_compile) if (does_compile)
error("No compile error for: ${code}") error("No compile error for: ${code}")