mirror of
https://github.com/yquake2/yquake2remaster.git
synced 2024-11-10 07:12:07 +00:00
cmake build fix common linker settings.
This commit is contained in:
parent
282d1b8ea6
commit
20171efc15
1 changed files with 2 additions and 2 deletions
|
@ -237,8 +237,8 @@ if(${OPENAL_SUPPORT})
|
|||
endif()
|
||||
|
||||
# General linker flags.
|
||||
if(!MSVC)
|
||||
list(APPEND yquake2LinkerFlags "-lm")
|
||||
if(NOT MSVC)
|
||||
list(APPEND yquake2LinkerFlags m)
|
||||
endif()
|
||||
list(APPEND yquake2LinkerFlags ${CMAKE_DL_LIBS})
|
||||
|
||||
|
|
Loading…
Reference in a new issue