diff --git a/client/renderers/EGL/CMakeLists.txt b/client/renderers/EGL/CMakeLists.txt index 38836c51..ed7194ca 100644 --- a/client/renderers/EGL/CMakeLists.txt +++ b/client/renderers/EGL/CMakeLists.txt @@ -14,7 +14,7 @@ pkg_check_modules(RENDERER_EGL_OPT IMPORTED_TARGET find_program(AWK gawk mawk original-awk awk) if(AWK MATCHES ".+-NOTFOUND") - message(FATAL_ERROR "FATAL: some known version of awk couldn't be found (${AWK}).") + message(FATAL_ERROR "FATAL: some known version of awk couldn't be found (${AWK}).") else() message(STATUS "Using awk: ${AWK}") endif() diff --git a/client/renderers/EGL/glsl.include.awk b/client/renderers/EGL/glsl.include.awk index 1c96f782..1286a40e 100644 --- a/client/renderers/EGL/glsl.include.awk +++ b/client/renderers/EGL/glsl.include.awk @@ -1,7 +1,7 @@ BEGIN { FS="\"" } function process(line, second) { - if (line ~ /^#include[ \t]*".+"[ \t]*$/) { + if (line ~ /^#include[ \t]*".+"[ \t\r]*$/) { while (getline < second) { process($0, $2) }