summaryrefslogtreecommitdiff
path: root/Source/Core/VideoBackends
diff options
context:
space:
mode:
authorJeffrey Pfau <jeffrey@endrift.com>2015-06-10 22:15:11 -0700
committerJeffrey Pfau <jeffrey@endrift.com>2015-06-13 21:52:47 -0700
commit7085fcc8d66267429fc6734be4ff0c563b9ff50a (patch)
treebff7cd87fe9b9e1f156154b9057dfba057a875f1 /Source/Core/VideoBackends
parent0ca955a14c9a23a12deabb62502a4d2703f9c47b (diff)
Fix FreeBSD build
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()