4 ${REACTOS_SOURCE_DIR}/lib/3rdparty/adns/src
5 ${REACTOS_SOURCE_DIR}/lib/3rdparty/adns/adns_win32)
7 add_definitions(-DADNS_JGAA_WIN32)
9 spec2def(dnsapi.dll dnsapi.spec ADD_IMPORTLIB)
21 add_library(dnsapi SHARED
24 ${CMAKE_CURRENT_BINARY_DIR}/dnsapi.def)
26 set_module_type(dnsapi win32dll)
27 target_link_libraries(dnsapi adns)
28 add_importlibs(dnsapi user32 ws2_32 iphlpapi msvcrt kernel32 ntdll)
29 add_pch(dnsapi dnsapi/precomp.h SOURCE)
30 add_dependencies(dnsapi psdk)
31 add_cd_file(TARGET dnsapi DESTINATION reactos/system32 FOR all)