mirror of
https://github.com/Kitware/CMake.git
synced 2026-02-14 11:09:56 -06:00
Tests: Improve RunCMake.file REAL_PATH error message formatting
This commit is contained in:
@@ -88,6 +88,10 @@ if (WIN32)
|
||||
file(REAL_PATH "${low}" out)
|
||||
|
||||
if(NOT "${out}" PATH_EQUAL "${in}")
|
||||
message(SEND_ERROR "real path is \"${out}\", should be \"${in}\"")
|
||||
message(SEND_ERROR
|
||||
"real path is:\n"
|
||||
" \"${out}\"\n"
|
||||
"but should be:\n"
|
||||
" \"${in}\"")
|
||||
endif()
|
||||
endif()
|
||||
|
||||
Reference in New Issue
Block a user