diff options
| author | Jeffrey Pfau <jeffrey@endrift.com> | 2015-06-10 22:15:11 -0700 |
|---|---|---|
| committer | Jeffrey Pfau <jeffrey@endrift.com> | 2015-06-13 21:52:47 -0700 |
| commit | 7085fcc8d66267429fc6734be4ff0c563b9ff50a (patch) | |
| tree | bff7cd87fe9b9e1f156154b9057dfba057a875f1 /Source/Core/VideoBackends | |
| parent | 0ca955a14c9a23a12deabb62502a4d2703f9c47b (diff) | |
Fix FreeBSD build
Diffstat (limited to 'Source/Core/VideoBackends')
| -rw-r--r-- | Source/Core/VideoBackends/OGL/CMakeLists.txt | 4 |
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() |
