summaryrefslogtreecommitdiffstats
path: root/src/widgets
diff options
context:
space:
mode:
authorAlex Valavanis <valavanisalex@gmail.com>2015-11-12 23:44:26 +0000
committerAlex Valavanis <valavanisalex@gmail.com>2015-11-12 23:44:26 +0000
commitec3c0a24bb14d96bfcef72cdd72326fce2790eff (patch)
treeaaecbec42c37bf2c391ec340b54d3be5a32161e5 /src/widgets
parentUpdate cmake Potrace module to match style of others (diff)
downloadinkscape-ec3c0a24bb14d96bfcef72cdd72326fce2790eff.tar.gz
inkscape-ec3c0a24bb14d96bfcef72cdd72326fce2790eff.zip
Fix CMake build
(bzr r14449.1.6)
Diffstat (limited to 'src/widgets')
-rw-r--r--src/widgets/CMakeLists.txt11
1 files changed, 9 insertions, 2 deletions
diff --git a/src/widgets/CMakeLists.txt b/src/widgets/CMakeLists.txt
index a3e9e14d0..c38bde5cf 100644
--- a/src/widgets/CMakeLists.txt
+++ b/src/widgets/CMakeLists.txt
@@ -11,7 +11,6 @@ set(widgets_SRC
measure-toolbar.cpp
mesh-toolbar.cpp
node-toolbar.cpp
- paintbucket-toolbar.cpp
pencil-toolbar.cpp
rect-toolbar.cpp
spiral-toolbar.cpp
@@ -67,7 +66,6 @@ set(widgets_SRC
measure-toolbar.h
mesh-toolbar.h
node-toolbar.h
- paintbucket-toolbar.h
pencil-toolbar.h
rect-toolbar.h
spiral-toolbar.h
@@ -114,3 +112,12 @@ set(widgets_SRC
# add_inkscape_lib(widgets_LIB "${widgets_SRC}")
add_inkscape_source("${widgets_SRC}")
+
+set ( widgets_paintbucket_SRC
+ paintbucket-toolbar.cpp
+ paintbucket-toolbar.h
+)
+
+if ("${HAVE_POTRACE}")
+ add_inkscape_source("${widgets_paintbucket_SRC}")
+endif()