From 84664f2ba627f40a80e535796cdd5583b13e83e0 Mon Sep 17 00:00:00 2001 From: Alexander Neundorf Date: Fri, 25 Apr 2008 20:37:59 +0000 Subject: [PATCH] cosmetics: lowercasing, no tabs, indentation, etc. Alex svn path=/trunk/KDE/kdebase/workspace/; revision=801170 --- CMakeLists.txt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index 1dcd4eac2c..141e44b067 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -94,6 +94,7 @@ qt4_add_dbus_adaptor( kwin_KDEINIT_SRCS org.kde.KWin.xml workspace.h KWin::Works kde4_add_kdeinit_executable( kwin ${kwin_KDEINIT_SRCS}) target_link_libraries(kdeinit_kwin ${KDE4_KDEUI_LIBS} kdecorations kwineffects ${X11_LIBRARIES}) + if(OPENGL_FOUND) target_link_libraries(kdeinit_kwin ${OPENGL_gl_LIBRARY}) # -ldl used by OpenGL code @@ -104,6 +105,7 @@ if(OPENGL_FOUND) # must be after opengl, to be initialized first by the linker target_link_libraries(kdeinit_kwin kwinnvidiahack) endif(OPENGL_FOUND) + if (X11_Xrandr_FOUND) target_link_libraries(kdeinit_kwin ${X11_Xrandr_LIB}) endif (X11_Xrandr_FOUND)