From 91872885ff3f86a9c6f51b8ddd5aa000fdb54473 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lubo=C5=A1=20Lu=C5=88=C3=A1k?= Date: Thu, 9 Nov 2006 18:01:45 +0000 Subject: [PATCH] Explicitly link against libdl, the build breaks for some people without it for some reason. svn path=/branches/work/kwin_composite/; revision=603677 --- CMakeLists.txt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index aef1298c08..4bdd0e0161 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -68,6 +68,8 @@ kde4_add_kdeinit_executable( kwin ${kwin_KDEINIT_SRCS}) target_link_libraries(kdeinit_kwin ${KDE4_KDEUI_LIBS} kdecorations ${X11_LIBRARIES} ${QT_QT3SUPPORT_LIBRARY} ) target_link_libraries(kdeinit_kwin -lGL) +# -ldl used by OpenGL code +target_link_libraries(kdeinit_kwin -ldl) if (X11_Xcomposite_FOUND) target_link_libraries(kdeinit_kwin ${X11_Xcomposite_LIB}) endif (X11_Xcomposite_FOUND)