Fix FreeBSD build

This commit is contained in:
Jeffrey Pfau
2015-06-10 22:15:11 -07:00
parent 0ca955a14c
commit 7085fcc8d6
9 changed files with 28 additions and 9 deletions

View File

@ -45,8 +45,10 @@ set(LIBS ${LIBS}
videocommon
SOIL
common
dl
${X11_LIBRARIES})
if(NOT CMAKE_SYSTEM_NAME MATCHES FreeBSD)
set(LIBS ${LIBS} dl)
endif()
if(USE_EGL)
set(LIBS ${LIBS} EGL)
endif()