From c73fabe43deeb9212ce046064c9f42544681fa45 Mon Sep 17 00:00:00 2001 From: Shlomi Fish Date: Sat, 8 Oct 2016 21:23:20 +0300 Subject: Fix "ninja -j4 check". There was a wrong dependency which caused a direct "check" target build to fail. (bzr r15100.1.33) --- src/CMakeLists.txt | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'src') 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}) -- cgit v1.2.3