[CMAKE] Get rid of the set_cpp macro
[reactos.git] / drivers / wdm / audio / hdaudbus / CMakeLists.txt
1
2
3 remove_definitions(-D_WIN32_WINNT=0x502)
4 add_definitions(-D_WIN32_WINNT=0x600)
5
6 list(APPEND SOURCE
7 hdaudbus.cpp
8 fdo.cpp
9 pdo.cpp
10 businterface.cpp)
11
12 add_library(hdaudbus MODULE ${SOURCE})
13 set_module_type(hdaudbus kernelmodedriver)
14 target_link_libraries(hdaudbus libcntpr ${PSEH_LIB})
15 add_importlibs(hdaudbus ntoskrnl hal)
16 add_cd_file(TARGET hdaudbus DESTINATION reactos/system32/drivers FOR all)
17 add_driver_inf(hdaudbus hdaudbus.inf)