mkxp-z/subprojects/packagefiles/libpng-awk.patch
2025-02-24 15:32:02 -05:00

13 lines
402 B
Diff

# Prevents libpng's build system from using AWK.
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -351,7 +351,7 @@ endif()
# Find an AWK language processor.
# Start with specific AWK implementations like gawk and nawk, which are
# known to work with our scripts, then fall back to the system awk.
-find_program(AWK NAMES gawk nawk awk)
+
if(AWK)
message(STATUS "Found AWK program: ${AWK}")
else()