summaryrefslogtreecommitdiff
path: root/Source/Core/VideoBackends
diff options
context:
space:
mode:
authorScott Mansell <phiren@gmail.com>2015-07-13 19:51:18 +1200
committerScott Mansell <phiren@gmail.com>2015-07-13 19:51:18 +1200
commitda38e3a8ae7be05ca783e72f0bce821dc23646bd (patch)
treed9522fbe017dfe00fe2bd5cde44d3554c3e6ab00 /Source/Core/VideoBackends
parent87e19f1c190719bd1280eb94bcdf372caca5287b (diff)
parentfff113b64ffbb673d803d18c28f833c7d2b6c02d (diff)
Merge pull request #2741 from endrift/fix-freebsd-build-stable
Fix FreeBSD (stable)
Diffstat (limited to 'Source/Core/VideoBackends')
-rw-r--r--Source/Core/VideoBackends/OGL/CMakeLists.txt4
1 files changed, 3 insertions, 1 deletions
diff --git a/Source/Core/VideoBackends/OGL/CMakeLists.txt b/Source/Core/VideoBackends/OGL/CMakeLists.txt
index 85964a3185..b4ece69de1 100644
--- a/Source/Core/VideoBackends/OGL/CMakeLists.txt
+++ b/Source/Core/VideoBackends/OGL/CMakeLists.txt
@@ -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()