~ci-train-bot/ubuntu-settings-components/ubuntu-settings-components-ubuntu-zesty-2236

« back to all changes in this revision

Viewing changes to CMakeLists.txt

  • Committer: Bileto Bot
  • Date: 2017-02-21 16:16:01 UTC
  • mfrom: (176.2.56 printer-components)
  • Revision ID: ci-train-bot@canonical.com-20170221161601-b6xdyrpew24xfnpl
* packaging: suggest cups, depend on libcups2-dev
* adds cups bindings for printer/job management

Show diffs side-by-side

added added

removed removed

Lines of Context:
8
8
 
9
9
include(FindPkgConfig)
10
10
 
 
11
include(FindCups)
 
12
 
11
13
find_package(Qt5Quick REQUIRED)
12
14
 
13
15
set(QT_IMPORTS_DIR ${CMAKE_INSTALL_LIBDIR}/qt5/qml)
17
19
find_package(Qt5Quick REQUIRED)
18
20
find_package(Qt5Test REQUIRED)
19
21
find_package(Qt5Widgets REQUIRED)
 
22
 
 
23
if(NOT CUPS_FOUND)
 
24
message(FATAL_ERROR "Could not find cups.")
 
25
endif()
 
26
 
20
27
add_definitions(-DQT_NO_KEYWORDS)
21
28
 
22
29
set(CMAKE_INCLUDE_CURRENT_DIR ON)