mirror of
https://github.com/reactos/reactos.git
synced 2025-08-02 17:56:06 +00:00
[GLU32] Remove the special case for Clang. CORE-11799
svn path=/trunk/; revision=72240
This commit is contained in:
parent
1a954c4f3e
commit
b01239eb28
1 changed files with 1 additions and 8 deletions
|
@ -113,14 +113,7 @@ add_library(glu32 SHARED ${SOURCE} glu32.rc)
|
|||
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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue