From c04f102458227e41e8ef13064f5ace371a0cd9ba Mon Sep 17 00:00:00 2001 From: Christian Klinger Date: Wed, 1 Jun 2016 14:47:40 +0200 Subject: added x11 workaround. --- CMakeLists.txt | 3 +++ 1 file changed, 3 insertions(+) (limited to 'CMakeLists.txt') diff --git a/CMakeLists.txt b/CMakeLists.txt index 4d9b9cb..7dfe756 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -20,6 +20,7 @@ SET(CMAKE_MODULE_PATH ${CMAKE_SOURCE_DIR}/cmake) # this command finds libraries and sets all required variables FIND_PACKAGE(Qt4 REQUIRED) FIND_PACKAGE(Cups REQUIRED) +FIND_PACKAGE(X11 REQUIRED) # some includes INCLUDE_DIRECTORIES( @@ -131,10 +132,12 @@ ADD_EXECUTABLE(printpwgui TARGET_LINK_LIBRARIES(printergui ${QT_LIBRARIES} ${CUPS_LIBRARIES} + ${X11_LIBRARIES} ) TARGET_LINK_LIBRARIES(printpwgui ${QT_LIBRARIES} + ${X11_LIBRARIES} ) # install -- cgit v1.2.3-55-g7522