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)
20 ${CMAKE_CURRENT_BINARY_DIR}/dnsapi.def)
22 add_library(dnsapi SHARED ${SOURCE})
24 set_module_type(dnsapi win32dll)
25 target_link_libraries(dnsapi adns)
26 add_importlibs(dnsapi user32 ws2_32 iphlpapi msvcrt kernel32 ntdll)
27 add_pch(dnsapi dnsapi/precomp.h)
28 add_dependencies(dnsapi psdk)
29 add_cd_file(TARGET dnsapi DESTINATION reactos/system32 FOR all)