From d60dcb718bbfdeea16c0db3550093d019cf799dc Mon Sep 17 00:00:00 2001 From: Quantum Date: Sat, 9 Oct 2021 19:36:26 -0400 Subject: [PATCH] [client] cmake: correctly detect non-gawk awks Forgetting NAMES meant that cmake was searching for gawk only. --- client/renderers/EGL/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/renderers/EGL/CMakeLists.txt b/client/renderers/EGL/CMakeLists.txt index d9b473a2..61161de9 100644 --- a/client/renderers/EGL/CMakeLists.txt +++ b/client/renderers/EGL/CMakeLists.txt @@ -11,7 +11,7 @@ pkg_check_modules(RENDERER_EGL_OPT IMPORTED_TARGET wayland-egl ) -find_program(AWK gawk mawk original-awk awk) +find_program(AWK NAMES gawk mawk original-awk awk) if(AWK MATCHES ".+-NOTFOUND") message(FATAL_ERROR "FATAL: some known version of awk couldn't be found (${AWK}).")