Cmake: only build print related files if NO_PRINTING isn't set

Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
Dirk Hohndel 2015-07-05 16:33:07 -07:00
parent db3a9abac9
commit 35b4af913b

View file

@ -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