summaryrefslogtreecommitdiffstats
path: root/src/CMakeLists.txt
diff options
context:
space:
mode:
authorJoshua L. Blocher <verbalshadow@gmail.com>2009-01-12 01:25:52 +0000
committerverbalshadow <verbalshadow@users.sourceforge.net>2009-01-12 01:25:52 +0000
commit431b6e2c2cfe6c10b101aaaf296550b4ec44c862 (patch)
treef962e3973c84b43e63ab44a3e9681876edde076c /src/CMakeLists.txt
parentcopyedit (diff)
downloadinkscape-431b6e2c2cfe6c10b101aaaf296550b4ec44c862.tar.gz
inkscape-431b6e2c2cfe6c10b101aaaf296550b4ec44c862.zip
Cmake: Fixed the extra -l in the link command, plus a add linking for all sub-libs of inkscape.
(bzr r7120)
Diffstat (limited to 'src/CMakeLists.txt')
-rw-r--r--src/CMakeLists.txt9
1 files changed, 5 insertions, 4 deletions
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
index 9f7cc33dc..32c1f241b 100644
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -251,18 +251,19 @@ ENDFOREACH(srclistsrc)
SET(INKSCAPE_SRC ${INKSCAPE_SRC} ${GlibOutput})
-#message(status "${INKSCAPE_LIBS}")
ADD_LIBRARY(sp STATIC ${SP_SRC})
-
+TARGET_LINK_LIBRARIES(sp
+nr nrtype avoid cola croco gdl vpsc livarot ${internalfolders} ${INKSCAPE_LIBS}
+)
# make executable for INKSCAPE
ADD_EXECUTABLE(inkscape ${INKSCAPE_SRC})
TARGET_LINK_LIBRARIES(inkscape
- ${internalfolders} sp avoid cola croco gdl nr nrtype vpsc livarot ${INKSCAPE_LIBS}
+nr nrtype sp avoid cola croco gdl vpsc livarot ${internalfolders} ${INKSCAPE_LIBS}
)
# make executable for INKVIEW
#ADD_EXECUTABLE(inkview inkview.cpp)
#TARGET_LINK_LIBRARIES(inkview
-# "${INKSCAPE_LINK_FLAGS}" 2geom avoid cola croco gdl nr nrtype vpsc livarot sp ${internalfolders}
+# 2geom avoid cola croco gdl nr nrtype vpsc livarot sp ${internalfolders}
#)