add_definitions(-D__WINESRC__)
include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
-spec2def(d3drm.dll d3drm.spec)
+spec2def(d3drm.dll d3drm.spec ADD_IMPORTLIB)
list(APPEND SOURCE
d3drm.c
target_link_libraries(d3drm mingwex)
endif()
-add_importlibs(d3drm d3dxof msvcrt kernel32 ntdll)
+add_importlibs(d3drm ddraw d3dxof msvcrt kernel32 ntdll)
add_pch(d3drm d3drm_private.h SOURCE)
add_cd_file(TARGET d3drm DESTINATION reactos/system32 FOR all)