4 ${REACTOS_SOURCE_DIR}/sdk/lib/3rdparty/adns/src
5 ${REACTOS_SOURCE_DIR}/sdk/lib/3rdparty/adns/adns_win32)
7 add_definitions(-DADNS_JGAA_WIN32)
8 spec2def(dnsapi.dll dnsapi.spec ADD_IMPORTLIB)
20 add_library(dnsapi MODULE
23 ${CMAKE_CURRENT_BINARY_DIR}/dnsapi.def)
25 set_module_type(dnsapi win32dll)
26 target_link_libraries(dnsapi adns)
27 add_importlibs(dnsapi advapi32 user32 ws2_32 iphlpapi msvcrt kernel32 ntdll)
28 add_pch(dnsapi dnsapi/precomp.h SOURCE)
29 add_cd_file(TARGET dnsapi DESTINATION reactos/system32 FOR all)