[CMAKE]
[reactos.git] / dll / win32 / gdi32 / CMakeLists.txt
index 7d1245c..ceeca90 100644 (file)
@@ -4,6 +4,8 @@ set_unicode()
 add_definitions(-D_DLL -D__USE_CRTIMP)
 add_definitions(-DLANGPACK)
 
+spec2def(gdi32.dll gdi32.spec)
+
 include_directories(include)
 
 list(APPEND SOURCE
@@ -37,7 +39,7 @@ list(APPEND SOURCE
     objects/utils.c
     objects/path.c
     gdi32.rc
-    gdi32.def)
+    ${CMAKE_CURRENT_BINARY_DIR}/gdi32.def)
 
 add_library(gdi32 SHARED
     ${CMAKE_CURRENT_BINARY_DIR}/gdi32_precomp.h.gch