Browse Source

GetPrerequisites: Mark file_cmd as advanced cache entry

This internal implementation detail should not pollute the main
cache view of projects that include GetPrerequisites.
Brad King 13 years ago
parent
commit
d269984e53
1 changed files with 1 additions and 0 deletions
  1. 1 0
      Modules/GetPrerequisites.cmake

+ 1 - 0
Modules/GetPrerequisites.cmake

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