X-Git-Url: https://git.reactos.org/?p=reactos.git;a=blobdiff_plain;f=dll%2Fopengl%2Fglu32%2FCMakeLists.txt;h=8df5de4b7182f087dc7104e950804bdd40868e43;hp=0801b3c09bdf5cc7c5781fbd9d33f1e94c7e925f;hb=f66525ee02257ec70732abc74034a2161e12190b;hpb=a989736ead401c669e8f30b190f3539e9d32d537 diff --git a/dll/opengl/glu32/CMakeLists.txt b/dll/opengl/glu32/CMakeLists.txt index 0801b3c09bd..8df5de4b718 100644 --- a/dll/opengl/glu32/CMakeLists.txt +++ b/dll/opengl/glu32/CMakeLists.txt @@ -107,21 +107,14 @@ list(APPEND SOURCE src/libnurbs/nurbtess/sampleMonoPoly.cc src/libnurbs/nurbtess/sampledLine.cc src/libnurbs/nurbtess/searchTree.cc - ${CMAKE_CURRENT_BINARY_DIR}/glu32.def -) + ${CMAKE_CURRENT_BINARY_DIR}/glu32.def) add_library(glu32 SHARED ${SOURCE}) set_module_type(glu32 win32dll) if(NOT MSVC) - add_compile_flags("-Wno-error=write-strings") + add_target_compile_flags(glu32 "-Wno-write-strings -Wno-unused-but-set-variable") endif() -add_importlibs(glu32 - opengl32 - gdi32 - msvcrt - kernel32 - ntdll) - +add_importlibs(glu32 opengl32 gdi32 msvcrt kernel32 ntdll) add_cd_file(TARGET glu32 DESTINATION reactos/system32 FOR all)