summaryrefslogtreecommitdiff
blob: 2eb6d918f7880a251f5e42ad5693ee895e42ec10 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
--- workspace/krunner/lock/CMakeLists.txt       (revision 766878)
+++ workspace/krunner/lock/CMakeLists.txt       (working copy)
@@ -5,7 +5,9 @@
 ########### next target ###############

 check_library_exists(Xxf86misc XF86MiscSetGrabKeysState "" HAVE_XF86MISCSETGRABKEYSSTATE)
+if(OPENGL_FOUND)
 check_library_exists(GL glXChooseVisual "" HAVE_GLXCHOOSEVISUAL)
+endif(OPENGL_FOUND)

 configure_file(config-krunner-lock.h.cmake ${CMAKE_CURRENT_BINARY_DIR}/config-krunner-lock.h)