summaryrefslogtreecommitdiffstats
path: root/src/CMakeLists.txt
diff options
context:
space:
mode:
authorShlomi Fish <shlomif@shlomifish.org>2016-10-08 18:23:20 +0000
committerShlomi Fish <shlomif@shlomifish.org>2016-10-08 18:23:20 +0000
commitc73fabe43deeb9212ce046064c9f42544681fa45 (patch)
tree7c2b58691f134e0d15171cbe593071cccf31092d /src/CMakeLists.txt
parentMade the style-utils.h license dual-with-GPLv2+. (diff)
downloadinkscape-c73fabe43deeb9212ce046064c9f42544681fa45.tar.gz
inkscape-c73fabe43deeb9212ce046064c9f42544681fa45.zip
Fix "ninja -j4 check".
There was a wrong dependency which caused a direct "check" target build to fail. (bzr r15100.1.33)
Diffstat (limited to 'src/CMakeLists.txt')
-rw-r--r--src/CMakeLists.txt7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
index 6a2af6b4b..5eaac4b51 100644
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -502,9 +502,6 @@ add_executable(inkview ${view_SRC})
add_dependencies(inkscape inkscape_version)
-if(WITH_DBUS)
- add_dependencies(inkscape inkscape_dbus)
-endif()
set(INKSCAPE_TARGET_LIBS
# order from automake
@@ -529,6 +526,10 @@ set(INKSCAPE_TARGET_LIBS
# Build everything except main and inkview.c in a shared library.
add_library(inkscape_base SHARED ${inkscape_SRC} ${sp_SRC})
+if(WITH_DBUS)
+ add_dependencies(inkscape_base inkscape_dbus)
+endif()
+
# Link the inkscape_base library against all external dependencies
target_link_libraries(inkscape_base ${INKSCAPE_TARGET_LIBS})