xref: /reactos/hal/halx86/acpi.cmake (revision bbccad0e)
1
2include_directories(include ${REACTOS_SOURCE_DIR}/drivers/bus/acpi/acpica/include)
3
4list(APPEND HAL_ACPI_SOURCE
5    acpi/halacpi.c
6    acpi/halpnpdd.c
7    acpi/busemul.c
8    acpi/madt.c
9    legacy/bus/pcibus.c)
10
11# Needed to compile while using ACPICA
12if(ARCH STREQUAL "amd64")
13    add_definitions(-DWIN64)
14endif()
15
16add_library(lib_hal_acpi OBJECT ${HAL_ACPI_SOURCE})
17add_pch(lib_hal_acpi include/hal.h ${HAL_ACPI_SOURCE})
18add_dependencies(lib_hal_acpi bugcodes xdk)
19