diff options
author | Brad King <brad.king@kitware.com> | 2011-11-16 01:39:36 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2011-11-16 15:15:01 (GMT) |
commit | 042f7965c3a5db7420363fdb76f9ebaa8e93efdc (patch) | |
tree | d6537eef3a37cbd65e3ea09da6df0b23cd192e9a /Tests/CMakeTests/CheckCMakeTest.cmake | |
parent | ed7cef563445644684af47720c2f7c6fb0a2e440 (diff) | |
download | CMake-042f7965c3a5db7420363fdb76f9ebaa8e93efdc.zip CMake-042f7965c3a5db7420363fdb76f9ebaa8e93efdc.tar.gz CMake-042f7965c3a5db7420363fdb76f9ebaa8e93efdc.tar.bz2 |
Add file(MD5) command to compute cryptographic hash
Provide a CMake-language binding to the md5sum function previously
available only by "cmake -E md5sum".
Diffstat (limited to 'Tests/CMakeTests/CheckCMakeTest.cmake')
-rw-r--r-- | Tests/CMakeTests/CheckCMakeTest.cmake | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Tests/CMakeTests/CheckCMakeTest.cmake b/Tests/CMakeTests/CheckCMakeTest.cmake index 2e4fedd..db92905 100644 --- a/Tests/CMakeTests/CheckCMakeTest.cmake +++ b/Tests/CMakeTests/CheckCMakeTest.cmake @@ -12,7 +12,7 @@ function(check_cmake_test prefix) ) string(REGEX REPLACE "\n" "\n out> " out " out> ${stdout}") string(REGEX REPLACE "\n" "\n err> " err " err> ${stderr}") - if(NOT "${result}" STREQUAL ${${test}-RESULT}) + if(NOT "${result}" STREQUAL "${${test}-RESULT}") message(FATAL_ERROR "Test ${test} result is [${result}], not [${${test}-RESULT}].\n" "Test ${test} output:\n" |