From 469294a98c191ed70214cd8af625238953e2b885 Mon Sep 17 00:00:00 2001 From: Uli Schlachter Date: Sun, 13 Jul 2014 16:18:01 +0200 Subject: [PATCH] cmake: Remove useless program checks We were looking for programs called cat, ln, grep and lua, but didn't ever use the result of any of these searches. So let's just not search at all. Signed-off-by: Uli Schlachter --- awesomeConfig.cmake | 4 ---- 1 file changed, 4 deletions(-) diff --git a/awesomeConfig.cmake b/awesomeConfig.cmake index c305dc537..f7c087962 100644 --- a/awesomeConfig.cmake +++ b/awesomeConfig.cmake @@ -43,9 +43,6 @@ macro(a_find_program var prg req) endif() endmacro() -a_find_program(CAT_EXECUTABLE cat TRUE) -a_find_program(LN_EXECUTABLE ln TRUE) -a_find_program(GREP_EXECUTABLE grep TRUE) a_find_program(GIT_EXECUTABLE git FALSE) a_find_program(HOSTNAME_EXECUTABLE hostname FALSE) # programs needed for man pages @@ -53,7 +50,6 @@ a_find_program(ASCIIDOC_EXECUTABLE asciidoc FALSE) a_find_program(XMLTO_EXECUTABLE xmlto FALSE) a_find_program(GZIP_EXECUTABLE gzip FALSE) # lua documentation -a_find_program(LUA_EXECUTABLE lua FALSE) a_find_program(LDOC_EXECUTABLE ldoc FALSE) if(NOT LDOC_EXECUTABLE) a_find_program(LDOC_EXECUTABLE ldoc.lua FALSE)