mirror of
https://github.com/reactos/reactos.git
synced 2025-06-27 08:09:44 +00:00
[GLU32]
* Silence some warnings. svn path=/trunk/; revision=59523
This commit is contained in:
parent
5de235ee37
commit
b45f58ec79
1 changed files with 3 additions and 10 deletions
|
@ -107,21 +107,14 @@ list(APPEND SOURCE
|
||||||
src/libnurbs/nurbtess/sampleMonoPoly.cc
|
src/libnurbs/nurbtess/sampleMonoPoly.cc
|
||||||
src/libnurbs/nurbtess/sampledLine.cc
|
src/libnurbs/nurbtess/sampledLine.cc
|
||||||
src/libnurbs/nurbtess/searchTree.cc
|
src/libnurbs/nurbtess/searchTree.cc
|
||||||
${CMAKE_CURRENT_BINARY_DIR}/glu32.def
|
${CMAKE_CURRENT_BINARY_DIR}/glu32.def)
|
||||||
)
|
|
||||||
|
|
||||||
add_library(glu32 SHARED ${SOURCE})
|
add_library(glu32 SHARED ${SOURCE})
|
||||||
set_module_type(glu32 win32dll)
|
set_module_type(glu32 win32dll)
|
||||||
|
|
||||||
if(NOT MSVC)
|
if(NOT MSVC)
|
||||||
add_compile_flags("-Wno-error=write-strings")
|
add_target_compile_flags(glu32 "-Wno-write-strings -Wno-unused-but-set-variable")
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
add_importlibs(glu32
|
add_importlibs(glu32 opengl32 gdi32 msvcrt kernel32 ntdll)
|
||||||
opengl32
|
|
||||||
gdi32
|
|
||||||
msvcrt
|
|
||||||
kernel32
|
|
||||||
ntdll)
|
|
||||||
|
|
||||||
add_cd_file(TARGET glu32 DESTINATION reactos/system32 FOR all)
|
add_cd_file(TARGET glu32 DESTINATION reactos/system32 FOR all)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue