mirror of
https://github.com/reactos/reactos.git
synced 2025-02-24 09:25:10 +00:00
[GLU32]
* Link with mingwex. * Allow multiple definitions at link time because longjmp exists in both our msvcrt and mingwex. CORE-8516 svn path=/trunk/; revision=64113
This commit is contained in:
parent
364fbd6cea
commit
d84558f23a
1 changed files with 5 additions and 0 deletions
|
@ -114,6 +114,11 @@ set_module_type(glu32 win32dll)
|
|||
|
||||
if(NOT MSVC)
|
||||
add_target_compile_flags(glu32 "-Wno-write-strings -Wno-unused-but-set-variable")
|
||||
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")
|
||||
endif()
|
||||
endif()
|
||||
|
||||
add_importlibs(glu32 opengl32 gdi32 msvcrt kernel32 ntdll)
|
||||
|
|
Loading…
Reference in a new issue