Author: akhaldi Date: Wed Aug 17 15:33:15 2016 New Revision: 72240
URL: http://svn.reactos.org/svn/reactos?rev=72240&view=rev Log: [GLU32] Remove the special case for Clang. CORE-11799
Modified: trunk/reactos/dll/opengl/glu32/CMakeLists.txt
Modified: trunk/reactos/dll/opengl/glu32/CMakeLists.txt URL: http://svn.reactos.org/svn/reactos/trunk/reactos/dll/opengl/glu32/CMakeLists... ============================================================================== --- trunk/reactos/dll/opengl/glu32/CMakeLists.txt [iso-8859-1] (original) +++ trunk/reactos/dll/opengl/glu32/CMakeLists.txt [iso-8859-1] Wed Aug 17 15:33:15 2016 @@ -113,14 +113,7 @@ set_module_type(glu32 win32dll)
if(NOT MSVC) - add_target_compile_flags(glu32 "-Wno-write-strings") - if(CMAKE_C_COMPILER_ID STREQUAL "Clang") - target_link_libraries(glu32 mingwex) - #FIXME: longjmp exists in both our msvcrt and mingwex - add_target_link_flags(glu32 "-Wl,--allow-multiple-definition") - else() - add_target_compile_flags(glu32 "-Wno-unused-but-set-variable") - endif() + add_target_compile_flags(glu32 "-Wno-write-strings -Wno-unused-but-set-variable") endif()
add_importlibs(glu32 opengl32 gdi32 msvcrt kernel32 ntdll)