From df58b267743e3f1e76ce2c37c30b73b4ec3eafe9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=B4me=20Gardou?= Date: Mon, 30 Jul 2012 01:07:57 +0000 Subject: [PATCH] [OPENGL32] - Fix build svn path=/trunk/; revision=56992 --- reactos/dll/win32/opengl32/CMakeLists.txt | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/reactos/dll/win32/opengl32/CMakeLists.txt b/reactos/dll/win32/opengl32/CMakeLists.txt index 280195377fa..57e906b8e60 100644 --- a/reactos/dll/win32/opengl32/CMakeLists.txt +++ b/reactos/dll/win32/opengl32/CMakeLists.txt @@ -2,6 +2,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 gl.c