summaryrefslogtreecommitdiff
blob: 1bb5ae7da3bff6f02efcac2bd50dde7686aae8ab (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
--- utils/vpiano/CMakeLists.txt
+++ utils/vpiano/CMakeLists.txt
@@ -1,3 +1,5 @@
+find_package(X11 REQUIRED)
+
 SET(vpiano_forms_SRCS
     vpianoabout.ui
     connections.ui
@@ -52,7 +54,7 @@
 TARGET_LINK_LIBRARIES(drumstick-vpiano
     ${QT_LIBRARIES} 
     ${ALSA_LIBS} 
-    ${QT_X11_X11_LIBRARY}
+    ${X11_X11_LIB}
     drumstick-common
     drumstick-alsa
 )