mirror of
https://github.com/reactos/reactos.git
synced 2025-08-06 10:22:59 +00:00
[OPENGL32]
* Don't import from glu32 anymore. * Link to libwine for the debugging facilities. * Fixes build. svn path=/trunk/; revision=58574
This commit is contained in:
parent
6d5e78708b
commit
ddd759e8e3
1 changed files with 2 additions and 14 deletions
|
@ -1,5 +1,4 @@
|
||||||
|
|
||||||
|
|
||||||
spec2def(opengl32.dll opengl32.spec ADD_IMPORTLIB)
|
spec2def(opengl32.dll opengl32.spec ADD_IMPORTLIB)
|
||||||
|
|
||||||
add_definitions(
|
add_definitions(
|
||||||
|
@ -16,19 +15,8 @@ list(APPEND SOURCE
|
||||||
${CMAKE_CURRENT_BINARY_DIR}/opengl32.def)
|
${CMAKE_CURRENT_BINARY_DIR}/opengl32.def)
|
||||||
|
|
||||||
add_library(opengl32 SHARED ${SOURCE})
|
add_library(opengl32 SHARED ${SOURCE})
|
||||||
|
target_link_libraries(opengl32 wine)
|
||||||
set_module_type(opengl32 win32dll UNICODE)
|
set_module_type(opengl32 win32dll UNICODE)
|
||||||
|
add_importlibs(opengl32 gdi32 user32 advapi32 msvcrt kernel32 ntdll)
|
||||||
add_importlibs(opengl32
|
|
||||||
msvcrt
|
|
||||||
gdi32
|
|
||||||
user32
|
|
||||||
advapi32
|
|
||||||
glu32
|
|
||||||
kernel32
|
|
||||||
ntdll)
|
|
||||||
|
|
||||||
add_pch(opengl32 opengl32.h)
|
add_pch(opengl32 opengl32.h)
|
||||||
|
|
||||||
add_cd_file(TARGET opengl32 DESTINATION reactos/system32 FOR all)
|
add_cd_file(TARGET opengl32 DESTINATION reactos/system32 FOR all)
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue