There's no libdl on FreeBSD

This commit is contained in:
Yamagi Burmeister 2013-01-14 19:22:48 +01:00 committed by Daniel Gibson
parent 63b1816be6
commit a2dca39727

View file

@ -1369,7 +1369,7 @@ else()
endif()
if(UNIX)
IF("${CMAKE_SYSTEM}" MATCHES "Linux")
target_link_libraries(RBDoom3BFG
idlib
GL
@ -1381,4 +1381,15 @@ else()
)
endif()
IF("${CMAKE_SYSTEM}" MATCHES "FreeBSD")
target_link_libraries(RBDoom3BFG
idlib
GL
pthread
rt
${SDLx_LIBRARY}
${OPENAL_LIBRARY}
)
endif()
endif()