X-Git-Url: https://git.reactos.org/?p=reactos.git;a=blobdiff_plain;f=drivers%2Fwmi%2FCMakeLists.txt;h=2fb593b2893c728cecf8dde8b4bf0e6236d222f5;hp=92de8e5f6390cdcfc76b081129d4bed1704eac38;hb=3d2c0a805bad287bfdbb625577f95a7a14455552;hpb=f22ed7dc10309a870c323fda5d9aac17bf636eb2 diff --git a/drivers/wmi/CMakeLists.txt b/drivers/wmi/CMakeLists.txt index 92de8e5f639..2fb593b2893 100644 --- a/drivers/wmi/CMakeLists.txt +++ b/drivers/wmi/CMakeLists.txt @@ -1,5 +1,5 @@ -spec2def(wmilib.sys wmilib.spec) +spec2def(wmilib.sys wmilib.spec ADD_IMPORTLIB) list(APPEND SOURCE wmilib.c @@ -8,9 +8,8 @@ list(APPEND SOURCE add_library(wmilib SHARED ${SOURCE}) -set_module_type(wmilib kernelmodedriver) -set_entrypoint(wmilib 0) +set_module_type(wmilib kernelmodedriver ENTRYPOINT 0) + add_importlibs(wmilib ntoskrnl) -add_importlib_target(wmilib.spec) -add_cab_target(wmilib 2) +add_cd_file(TARGET wmilib DESTINATION reactos/system32/drivers FOR all)