mirror of
https://github.com/gnif/LookingGlass.git
synced 2024-11-10 08:38:20 +00:00
[client] cmake: correctly detect non-gawk awks
Forgetting NAMES meant that cmake was searching for gawk only.
This commit is contained in:
parent
e914e56c48
commit
d60dcb718b
@ -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}).")
|
||||
|
Loading…
Reference in New Issue
Block a user