[CMAKE]
[reactos.git] / dll / directx / wine / d3dx9_31 / CMakeLists.txt
index f4393c5..aa45584 100644 (file)
@@ -5,6 +5,7 @@ spec2def(d3dx9_31.dll d3dx9_31.spec)
 list(APPEND SOURCE
     d3dx9_31_main.c
     version.rc
+    ${CMAKE_CURRENT_BINARY_DIR}/d3dx9_31_stubs.c
     ${CMAKE_CURRENT_BINARY_DIR}/d3dx9_31.def)
 
 add_definitions(-D__WINESRC__)
@@ -19,6 +20,7 @@ target_link_libraries(d3dx9_31
 
 add_importlibs(d3dx9_31
     d3d9
+    d3dx9_36
     user32
     gdi32
     advapi32
@@ -28,4 +30,4 @@ add_importlibs(d3dx9_31
     ntdll)
 
 add_dependencies(d3dx9_31 wineheaders)
-add_cab_target(d3dx9_31 1)
\ No newline at end of file
+add_cd_file(TARGET d3dx9_31 DESTINATION reactos/system32 FOR all)