Author: jgardou
Date: Mon Jul 30 01:07:57 2012
New Revision: 56992
URL:
http://svn.reactos.org/svn/reactos?rev=56992&view=rev
Log:
[OPENGL32]
- Fix build
Modified:
trunk/reactos/dll/win32/opengl32/CMakeLists.txt
Modified: trunk/reactos/dll/win32/opengl32/CMakeLists.txt
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/opengl32/CMakeLi…
==============================================================================
--- trunk/reactos/dll/win32/opengl32/CMakeLists.txt [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/opengl32/CMakeLists.txt [iso-8859-1] Mon Jul 30 01:07:57 2012
@@ -1,6 +1,11 @@
spec2def(opengl32.dll opengl32.spec ADD_IMPORTLIB)
+
+add_definitions(
+ -D_GDI32_ # prevent gl* being declared __declspec(dllimport) in MS headers
+ -DBUILD_GL32 # declare gl* as __declspec(dllexport) in Mesa headers
+)
list(APPEND SOURCE
font.c