summaryrefslogtreecommitdiff
blob: 24b626905e79a2428ec346916fac1c994cd70cbb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
diff -urN krita-2.2.2.vanilla/krita/ui/CMakeLists.txt krita-2.2.2/krita/ui/CMakeLists.txt
--- krita-2.2.2.vanilla/krita/ui/CMakeLists.txt	2010-08-21 07:38:52.000000000 +0200
+++ krita-2.2.2/krita/ui/CMakeLists.txt	2010-11-03 23:43:28.000000000 +0100
@@ -217,6 +217,10 @@
 
 target_link_libraries(kritaui LINK_INTERFACE_LIBRARIES kritaimage komain ${GL_INTERFACE_LIBRARIES} )
 
+IF(Q_WS_X11)
+    TARGET_LINK_LIBRARIES(kritaui ${X11_LIBRARIES})
+ENDIF(Q_WS_X11)
+
 set_target_properties(kritaui
     PROPERTIES VERSION ${GENERIC_KOFFICE_LIB_VERSION} SOVERSION ${GENERIC_KOFFICE_LIB_SOVERSION}
 )