summaryrefslogtreecommitdiffstats
path: root/Modules/GetPrerequisites.cmake
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2012-08-14 13:02:08 (GMT)
committerBrad King <brad.king@kitware.com>2012-08-14 13:02:08 (GMT)
commitd269984e530ca4211b07665dcec87ef18b6162c4 (patch)
treed19cf2ccbc46a41a26cc2bf3525e0b4733b39c6b /Modules/GetPrerequisites.cmake
parentcd3bd23266a4a6c00595134a17a8bdaea9e28af5 (diff)
downloadCMake-d269984e530ca4211b07665dcec87ef18b6162c4.zip
CMake-d269984e530ca4211b07665dcec87ef18b6162c4.tar.gz
CMake-d269984e530ca4211b07665dcec87ef18b6162c4.tar.bz2
GetPrerequisites: Mark file_cmd as advanced cache entry
This internal implementation detail should not pollute the main cache view of projects that include GetPrerequisites.
Diffstat (limited to 'Modules/GetPrerequisites.cmake')
-rw-r--r--Modules/GetPrerequisites.cmake1
1 files changed, 1 insertions, 0 deletions
diff --git a/Modules/GetPrerequisites.cmake b/Modules/GetPrerequisites.cmake
index e51055f..8f2754e 100644
--- a/Modules/GetPrerequisites.cmake
+++ b/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)