diff options
Diffstat (limited to 'Tests/CMakeTests/ToolchainTest.cmake.in')
-rw-r--r-- | Tests/CMakeTests/ToolchainTest.cmake.in | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Tests/CMakeTests/ToolchainTest.cmake.in b/Tests/CMakeTests/ToolchainTest.cmake.in index 361d698..bf0f1c2 100644 --- a/Tests/CMakeTests/ToolchainTest.cmake.in +++ b/Tests/CMakeTests/ToolchainTest.cmake.in @@ -80,11 +80,11 @@ set(fileOne "${_INCLUDED_TOOLCHAIN_FILE}") set(fileTwo "${MY_SOURCE_DIR}/DummyToolchain.cmake") if(WIN32) string(TOLOWER "${fileOne}" fileOne) - string(TOLOWER "${fileTwo}" fileOne) + string(TOLOWER "${fileTwo}" fileTwo) endif(WIN32) if(NOT "${fileOne}" STREQUAL "${fileTwo}") - message(FATAL_ERROR "Wrong toolchain was loaded: \"${$fileOne}\" expected \"${$fileTwo}\"") + message(FATAL_ERROR "Wrong toolchain was loaded: \"${fileOne}\" expected \"${fileTwo}\"") endif(NOT "${fileOne}" STREQUAL "${fileTwo}") # check that CMAKE_HOST_SYSTEM_XXX and _SYSTEM_xxx detected above are identical |