summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2015-07-05 16:33:07 -0700
committerGravatar Dirk Hohndel <dirk@hohndel.org>2015-07-05 16:33:07 -0700
commit35b4af913b5cabc0d80aac6794feb43608653ea4 (patch)
tree2eaca7546caf014190a04c49a97e1de0651a0b3a
parentdb3a9abac920b0dc9fbaed7d80951d3ec0a83c34 (diff)
downloadsubsurface-35b4af913b5cabc0d80aac6794feb43608653ea4.tar.gz
Cmake: only build print related files if NO_PRINTING isn't set
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
-rw-r--r--CMakeLists.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 179c5677f..dce84405c 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -119,6 +119,8 @@ else()
printer.cpp
templatelayout.cpp
qt-ui/templateedit.cpp
+ qt-ui/printdialog.cpp
+ qt-ui/printoptions.cpp
)
set(PRINTING_PKG PrintSupport)
set(PRINTING_LIB Qt5::PrintSupport)
@@ -364,8 +366,6 @@ set(SUBSURFACE_INTERFACE
qt-ui/metrics.cpp
qt-ui/notificationwidget.cpp
qt-ui/preferences.cpp
- qt-ui/printdialog.cpp
- qt-ui/printoptions.cpp
qt-ui/simplewidgets.cpp
qt-ui/starwidget.cpp
qt-ui/subsurfacewebservices.cpp