Author: akhaldi
Date: Wed Jun 15 22:35:33 2011
New Revision: 52262
URL:
http://svn.reactos.org/svn/reactos?rev=52262&view=rev
Log:
[GDIPLUS]
* Fix msvc build.
Modified:
trunk/reactos/dll/win32/gdiplus/CMakeLists.txt
Modified: trunk/reactos/dll/win32/gdiplus/CMakeLists.txt
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/gdiplus/CMakeLis…
==============================================================================
--- trunk/reactos/dll/win32/gdiplus/CMakeLists.txt [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/gdiplus/CMakeLists.txt [iso-8859-1] Wed Jun 15 22:35:33 2011
@@ -23,9 +23,13 @@
pen.c
region.c
stringformat.c
- #${REACTOS_BINARY_DIR}/include/psdk/wincodec_i.c
${CMAKE_CURRENT_BINARY_DIR}/gdiplus_stubs.c
${CMAKE_CURRENT_BINARY_DIR}/gdiplus.def)
+
+if(MSVC)
+ list(APPEND SOURCE
+ ${REACTOS_BINARY_DIR}/include/psdk/wincodec_i.c)
+endif()
add_library(gdiplus SHARED ${SOURCE})