From 9ff0dffb026eae3b80e3e0b8bbb941e3e3b8b01f Mon Sep 17 00:00:00 2001 From: Felix Morgner Date: Fri, 1 May 2026 10:16:49 +0200 Subject: acpi: silence IASL compiler output --- libs/acpi/cmake/Scripts/IaslCompile.cmake | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 libs/acpi/cmake/Scripts/IaslCompile.cmake (limited to 'libs/acpi/cmake') diff --git a/libs/acpi/cmake/Scripts/IaslCompile.cmake b/libs/acpi/cmake/Scripts/IaslCompile.cmake new file mode 100644 index 0000000..ff73b34 --- /dev/null +++ b/libs/acpi/cmake/Scripts/IaslCompile.cmake @@ -0,0 +1,16 @@ +execute_process( + COMMAND + "${IASL_EXE}" + "-vs" + "-p" + "${IASL_OUTPUT}" + "${IASL_INPUT}" + OUTPUT_VARIABLE IASL_OUT + ERROR_VARIABLE IASL_ERR + RESULT_VARIABLE IASL_RES +) + +if(NOT IASL_RES EQUAL 0) + message(STATUS "${IASL_OUT}") + message(FATAL_ERROR "${IASL_ERR}") +endif() -- cgit v1.2.3