summaryrefslogtreecommitdiff
path: root/x11/kde4-workspace/files/patch-kwin_opengltest_CMakeLists.txt
blob: f9d589472c79391f66a165b25ed88e141d6fb06f (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
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} )