[ACPI] Add acpi.rc to CMakeLists (#6089)

Fix missing version info.
This commit is contained in:
Thamatip Chitpong 2023-12-04 07:17:08 +07:00 committed by GitHub
parent a6341b49d8
commit 2dd0c6c32b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -199,7 +199,10 @@ list(APPEND ACPI_SOURCE
buspdo.c
main.c)
add_library(acpi MODULE ${ACPI_SOURCE})
add_library(acpi MODULE
${ACPI_SOURCE}
acpi.rc)
set_module_type(acpi kernelmodedriver)
target_link_libraries(acpi wdmguid acpica memcmp strtol ${PSEH_LIB})
add_importlibs(acpi ntoskrnl hal)