summaryrefslogtreecommitdiffstats
path: root/CMakeLists.txt
diff options
context:
space:
mode:
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt3
1 files changed, 3 insertions, 0 deletions
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