summaryrefslogtreecommitdiffstats
path: root/src/ui/CMakeLists.txt
diff options
context:
space:
mode:
authorNathan Lee <2431820-nathanal@users.noreply.gitlab.com>2019-07-30 02:17:51 +0000
committerNathan Lee <2431820-nathanal@users.noreply.gitlab.com>2019-07-31 23:59:31 +0000
commit68eb62ca34fb936efa5bb35cddbf89f61e6912e2 (patch)
treeba3d5125626638b7e1a247e72134fafc4c0fb76c /src/ui/CMakeLists.txt
parentIf potrace unavailable, hide from the context menu (diff)
downloadinkscape-68eb62ca34fb936efa5bb35cddbf89f61e6912e2.tar.gz
inkscape-68eb62ca34fb936efa5bb35cddbf89f61e6912e2.zip
Hide spellcheck dialog if Aspell is missing
Hide warnings emitted if Aspell/Potrace missing
Diffstat (limited to 'src/ui/CMakeLists.txt')
-rw-r--r--src/ui/CMakeLists.txt11
1 files changed, 9 insertions, 2 deletions
diff --git a/src/ui/CMakeLists.txt b/src/ui/CMakeLists.txt
index 8bd586c4b..d84ac8be4 100644
--- a/src/ui/CMakeLists.txt
+++ b/src/ui/CMakeLists.txt
@@ -135,7 +135,6 @@ set(ui_SRC
dialog/print.cpp
dialog/prototype.cpp
dialog/selectorsdialog.cpp
- dialog/spellcheck.cpp
dialog/styledialog.cpp
dialog/svg-fonts-dialog.cpp
dialog/svg-preview.cpp
@@ -303,7 +302,6 @@ set(ui_SRC
dialog/print.h
dialog/prototype.h
dialog/selectorsdialog.h
- dialog/spellcheck.h
dialog/styledialog.h
dialog/svg-fonts-dialog.h
dialog/svg-preview.h
@@ -479,3 +477,12 @@ set ( ui_flood_and_trace_SRC
if ("${HAVE_POTRACE}")
add_inkscape_source("${ui_flood_and_trace_SRC}")
endif()
+
+set ( ui_spellcheck_SRC
+ dialog/spellcheck.cpp
+ dialog/spellcheck.h
+)
+
+if ("${HAVE_ASPELL}")
+ add_inkscape_source("${ui_spellcheck_SRC}")
+endif() \ No newline at end of file