Link to the proper DLOpen to remove linux ldl flag (Let Cmake handle it)
This commit is contained in:
parent
52ef7fe048
commit
8211f5d497
|
@ -58,7 +58,8 @@ if(${OPENAL_FOUND} AND NOT(${CMAKE_SYSTEM_NAME} MATCHES "Darwin"))
|
||||||
list(APPEND yquake2LinkerFlags ${OPENAL_LIBRARY})
|
list(APPEND yquake2LinkerFlags ${OPENAL_LIBRARY})
|
||||||
endif()
|
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)
|
add_definitions(-DZIP -DNOUNCRYPT)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue