[Beignet] [PATCH] Fix linking to X11 libraries.
Abrahm Scully
abrahm.scully at gmail.com
Wed Jun 18 19:26:53 PDT 2014
After FindXLib.cmake was removed, XLIB_LIBARY should have been
replaced with X11_LIBRARIES.
Signed-off-by: Abrahm Scully <abrahm.scully at gmail.com>
---
src/CMakeLists.txt | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
index fcd2ec9..8651af6 100644
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -104,7 +104,7 @@ link_directories (${LLVM_LIBRARY_DIR} ${DRM_LIBDIR})
add_library(cl SHARED ${OPENCL_SRC})
target_link_libraries(
cl
- ${XLIB_LIBRARY}
+ ${X11_LIBRARIES}
${XEXT_LIBRARIES}
${XFIXES_LIBRARIES}
${DRM_INTEL_LIBRARIES}
--
1.9.3
More information about the Beignet
mailing list