summaryrefslogtreecommitdiff
path: root/x11/kde-workspace-kde4/files/patch-kwin_opengltest_CMakeLists.txt
diff options
context:
space:
mode:
Diffstat (limited to 'x11/kde-workspace-kde4/files/patch-kwin_opengltest_CMakeLists.txt')
-rw-r--r--x11/kde-workspace-kde4/files/patch-kwin_opengltest_CMakeLists.txt15
1 files changed, 15 insertions, 0 deletions
diff --git a/x11/kde-workspace-kde4/files/patch-kwin_opengltest_CMakeLists.txt b/x11/kde-workspace-kde4/files/patch-kwin_opengltest_CMakeLists.txt
new file mode 100644
index 000000000000..f9d589472c79
--- /dev/null
+++ b/x11/kde-workspace-kde4/files/patch-kwin_opengltest_CMakeLists.txt
@@ -0,0 +1,15 @@
+--- kwin/opengltest/CMakeLists.txt.orig 2015-06-26 03:17:21 UTC
++++ kwin/opengltest/CMakeLists.txt
+@@ -2,9 +2,11 @@
+
+ set(kwin_opengl_test_SRCS opengltest.cpp )
+
++find_package(Threads)
++
+ kde4_add_executable(kwin_opengl_test ${kwin_opengl_test_SRCS})
+
+-target_link_libraries(kwin_opengl_test ${X11_LIBRARIES} ${OPENGL_gl_LIBRARY})
++target_link_libraries(kwin_opengl_test ${X11_LIBRARIES} ${OPENGL_gl_LIBRARY} ${CMAKE_THREAD_LIBS_INIT})
+
+ install(TARGETS kwin_opengl_test DESTINATION ${LIBEXEC_INSTALL_DIR} )
+