From 1a51d8f34eea0dd0cc212c2574a782b24bfac741 Mon Sep 17 00:00:00 2001 From: Andreas Hartmetz Date: Tue, 4 Nov 2008 13:37:04 +0000 Subject: [PATCH] link with gold: if you want something don't forget to ask for it :) svn path=/trunk/KDE/kdelibs/; revision=880001 --- CMakeLists.txt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index cd43c8782..31d569d52 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -33,6 +33,8 @@ include_directories(${CMAKE_CURRENT_SOURCE_DIR} ${CMAKE_SOURCE_DIR}/threadweaver/ ${KDE4_INCLUDES}) if(QT_QTOPENGL_FOUND AND OPENGL_FOUND) + # libGL needs dlopen() and friends from the dl library + find_library(DL_LIBRARY dl) include_directories(${OPENGL_INCLUDE_DIR}) endif(QT_QTOPENGL_FOUND AND OPENGL_FOUND)