summaryrefslogtreecommitdiffstats
path: root/src/libvpsc
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/libvpsc
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/libvpsc')
-rw-r--r--src/libvpsc/CMakeLists.txt18
1 files changed, 10 insertions, 8 deletions
diff --git a/src/libvpsc/CMakeLists.txt b/src/libvpsc/CMakeLists.txt
index 23b6f84cd..4c3398b0f 100644
--- a/src/libvpsc/CMakeLists.txt
+++ b/src/libvpsc/CMakeLists.txt
@@ -1,11 +1,13 @@
SET(libvpsc_SRC
-block.cpp
-blocks.cpp
-constraint.cpp
-csolve_VPSC.cpp
-generate-constraints.cpp
-remove_rectangle_overlap.cpp
-solve_VPSC.cpp
+block.cpp
+blocks.cpp
+constraint.cpp
+csolve_VPSC.cpp
+generate-constraints.cpp
+remove_rectangle_overlap.cpp
+solve_VPSC.cpp
variable.cpp
)
-ADD_LIBRARY(vpsc STATIC ${libvpsc_SRC})
+ADD_LIBRARY(vpsc STATIC ${libvpsc_SRC})
+TARGET_LINK_LIBRARIES(vpsc
+${INKSCAPE_LIBS}) \ No newline at end of file