summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--CMakeLists.txt4
-rw-r--r--src/input/CMakeLists.txt6
2 files changed, 7 insertions, 3 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index c79f918..c31d406 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -343,11 +343,9 @@ TARGET_LINK_LIBRARIES(pvsmgrtouch
)
TARGET_LINK_LIBRARIES(pvs
- ${QT_LIBRARIES}
${VNC_LIBRARIES}
${X11_LIBRARIES}
- ${X11_XTest_LIB}
- ${X11_Xinput_LIB}
+ ${QT_LIBRARIES}
pvsmcast
pvsinput
)
diff --git a/src/input/CMakeLists.txt b/src/input/CMakeLists.txt
index 26eeb64..ad035e1 100644
--- a/src/input/CMakeLists.txt
+++ b/src/input/CMakeLists.txt
@@ -165,6 +165,12 @@ add_library(
${pvsinput_RCS}
)
+TARGET_LINK_LIBRARIES(pvsinput
+ ${X11_Xinput_LIB}
+ ${X11_XTest_LIB}
+)
+
+
if(EXISTS /etc/gentoo-release)
configure_file(${CMAKE_CURRENT_SOURCE_DIR}/pvsprivinputd.gentooinit.in ${CMAKE_CURRENT_BINARY_DIR}/pvsprivinputd.init @ONLY@)
else()