blob: 3ec09f54e16f951624f3b1cc9d7518ab91d00a4b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
diff -ruN krita-2.3.1.orig/krita/ui/CMakeLists.txt krita-2.3.1/krita/ui/CMakeLists.txt
--- krita-2.3.1.orig/krita/ui/CMakeLists.txt 2011-01-15 21:07:11.000000000 +0100
+++ krita-2.3.1/krita/ui/CMakeLists.txt 2011-01-23 18:56:56.824000099 +0100
@@ -216,6 +216,10 @@
target_link_libraries(kritaui ${KDE4_THREADWEAVER_LIBRARIES} kritaimage komain kowidgets ${PNG_LIBRARIES} ${EXIV2_LIBRARIES})
+IF(Q_WS_X11)
+ TARGET_LINK_LIBRARIES(kritaui ${X11_LIBRARIES})
+ENDIF(Q_WS_X11)
+
if(HAVE_OPENGL)
target_link_libraries(kritaui ${OPENGL_LIBRARIES} ${QT_QTOPENGL_LIBRARY} ${OPENEXR_LIBRARIES})
set (GL_INTERFACE_LIBRARIES ";${OPENGL_LIBRARIES};${QT_QTOPENGL_LIBRARY}")
|