mirror of
https://github.com/yquake2/yquake2remaster.git
synced 2024-11-10 07:12:07 +00:00
Link to the proper DLOpen to remove linux ldl flag (Let Cmake handle it)
This commit is contained in:
parent
52ef7fe048
commit
8211f5d497
1 changed files with 2 additions and 1 deletions
|
@ -58,7 +58,8 @@ if(${OPENAL_FOUND} AND NOT(${CMAKE_SYSTEM_NAME} MATCHES "Darwin"))
|
|||
list(APPEND yquake2LinkerFlags ${OPENAL_LIBRARY})
|
||||
endif()
|
||||
|
||||
list(APPEND yquake2LinkerFlags "-L/usr/lib -lm -ldl -rdynamic")
|
||||
list(APPEND yquake2LinkerFlags "-lm -rdynamic")
|
||||
list(APPEND yquake2LinkerFlags ${CMAKE_DL_LIBS})
|
||||
|
||||
add_definitions(-DZIP -DNOUNCRYPT)
|
||||
|
||||
|
|
Loading…
Reference in a new issue