Merge topic 'GetPrerequisites-file_cmd-advanced'

d269984 GetPrerequisites: Mark file_cmd as advanced cache entry
This commit is contained in:
David Cole 2012-08-20 15:38:16 -04:00 committed by CMake Topic Stage
commit 735bdecd30
1 changed files with 1 additions and 0 deletions

View File

@ -168,6 +168,7 @@ function(is_file_executable file result_var)
if(UNIX) if(UNIX)
if(NOT file_cmd) if(NOT file_cmd)
find_program(file_cmd "file") find_program(file_cmd "file")
mark_as_advanced(file_cmd)
endif() endif()
if(file_cmd) if(file_cmd)