diff options
author | Brad King <brad.king@kitware.com> | 2021-03-29 13:31:31 (GMT) |
---|---|---|
committer | Kitware Robot <kwrobot@kitware.com> | 2021-03-29 13:32:09 (GMT) |
commit | 75dd9b6c97a7b553d905c5bb3ef41cd38afc7315 (patch) | |
tree | 01fe846862c10d4454a4df3430f5d4b8f6f347af /Tests/RunCMake/File_Generate | |
parent | b355358de359fa0c9b225715fbbfb7d34b362668 (diff) | |
parent | 769ff05483fa92e63466839854c4f3f0142a4fb3 (diff) | |
download | CMake-75dd9b6c97a7b553d905c5bb3ef41cd38afc7315.zip CMake-75dd9b6c97a7b553d905c5bb3ef41cd38afc7315.tar.gz CMake-75dd9b6c97a7b553d905c5bb3ef41cd38afc7315.tar.bz2 |
Merge topic 'commands-file-permissions'
769ff05483 Help: Clarify permission-related command options
900184616a Cleanup: Fix misspelt name of local C++ variable
635431a0c9 Tests: Check host platform instead of target for running stat
4ceb0ca59e Tests: Remove redundant files for configure_file() tests
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !5945
Diffstat (limited to 'Tests/RunCMake/File_Generate')
-rw-r--r-- | Tests/RunCMake/File_Generate/UseSourcePermissionsVerify.cmake | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Tests/RunCMake/File_Generate/UseSourcePermissionsVerify.cmake b/Tests/RunCMake/File_Generate/UseSourcePermissionsVerify.cmake index 8b30f96..31494d5 100644 --- a/Tests/RunCMake/File_Generate/UseSourcePermissionsVerify.cmake +++ b/Tests/RunCMake/File_Generate/UseSourcePermissionsVerify.cmake @@ -2,7 +2,7 @@ if(NOT EXISTS "${generatedFile}") message(SEND_ERROR "Missing generated file:\n ${generatedFile}") endif() -if (UNIX) +if (CMAKE_HOST_UNIX) find_program(STAT_EXECUTABLE NAMES stat) if(NOT STAT_EXECUTABLE) return() |