[commit] r2351 - use X11_Xrender_LIB in link libraries list instead of -lXrender

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[commit] r2351 - use X11_Xrender_LIB in link libraries list instead of -lXrender

commits-3
 
Author: piumarta
Date: 2011-01-22 23:16:41 -0800 (Sat, 22 Jan 2011)
New Revision: 2351

Modified:
   trunk/platforms/unix/vm-display-X11/config.cmake
Log:
use X11_Xrender_LIB in link libraries list instead of -lXrender

Modified: trunk/platforms/unix/vm-display-X11/config.cmake
===================================================================
--- trunk/platforms/unix/vm-display-X11/config.cmake 2011-01-23 07:15:38 UTC (rev 2350)
+++ trunk/platforms/unix/vm-display-X11/config.cmake 2011-01-23 07:16:41 UTC (rev 2351)
@@ -12,7 +12,7 @@
   IF (HAVE_X11_EXTENSIONS_XRENDER_H)
     CHECK_LIBRARY_EXISTS (Xrender XRenderQueryVersion ${X11_LIBRARY_DIR} HAVE_LIBXRENDER)
     IF (HAVE_LIBXRENDER)
-      PLUGIN_LINK_LIBRARIES (Xrender)
+      PLUGIN_LINK_LIBRARIES (${X11_Xrender_LIB})
     ENDIF ()
   ENDIF (HAVE_X11_EXTENSIONS_XRENDER_H)
   IF (OPENGL_FOUND)