mirror of
https://github.com/Kitware/CMake.git
synced 2026-01-11 00:11:07 -06:00
GetPrerequisites: Mark file_cmd as advanced cache entry
This internal implementation detail should not pollute the main cache view of projects that include GetPrerequisites.
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user