+add_subdirectory(wine)
+
+add_definitions(-DLANGPACK)
+
include_directories(
include
${REACTOS_SOURCE_DIR}/win32ss/include)
gdi32.rc
${CMAKE_CURRENT_BINARY_DIR}/gdi32.def)
-set_module_type(gdi32 win32dll ENTRYPOINT DllMain 12 UNICODE)
-target_link_libraries(gdi32 win32ksys dxguid msvcrtex ${PSEH_LIB})
+set_module_type(gdi32
+ win32dll
+ ENTRYPOINT DllMain 12
+ UNICODE)
+
+target_link_libraries(gdi32
+ winegdi
+ wine
+ win32ksys
+ dxguid
+ msvcrtex
+ atan2
+ ${PSEH_LIB})
+
add_importlibs(gdi32 user32 advapi32 kernel32 ntdll)
add_pch(gdi32 include/precomp.h SOURCE)
add_cd_file(TARGET gdi32 DESTINATION reactos/system32 FOR all)