[CONSRV] Fix for console windows shrinking on Minimize and Restore (#2014)
[reactos.git] / dll / directx / wine / d3dx9_42 / CMakeLists.txt
1
2 add_definitions(-D__WINESRC__)
3 include_directories(${REACTOS_SOURCE_DIR}/sdk/include/reactos/wine)
4 spec2def(d3dx9_42.dll d3dx9_42.spec)
5
6 list(APPEND SOURCE
7 d3dx9_42_main.c
8 ${CMAKE_CURRENT_BINARY_DIR}/d3dx9_42.def)
9
10 add_library(d3dx9_42 MODULE ${SOURCE} version.rc)
11 set_module_type(d3dx9_42 win32dll)
12 target_link_libraries(d3dx9_42 wine)
13 add_importlibs(d3dx9_42 d3dx9_36 msvcrt kernel32 ntdll)
14 add_cd_file(TARGET d3dx9_42 DESTINATION reactos/system32 FOR all)