summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/CMakeLists.txt3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
index 5eaac4b51..fa4d73b70 100644
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -500,7 +500,6 @@ endif()
add_executable(inkscape ${main_SRC})
add_executable(inkview ${view_SRC})
-add_dependencies(inkscape inkscape_version)
set(INKSCAPE_TARGET_LIBS
@@ -526,6 +525,8 @@ set(INKSCAPE_TARGET_LIBS
# Build everything except main and inkview.c in a shared library.
add_library(inkscape_base SHARED ${inkscape_SRC} ${sp_SRC})
+add_dependencies(inkscape_base inkscape_version)
+
if(WITH_DBUS)
add_dependencies(inkscape_base inkscape_dbus)
endif()