From 431b6e2c2cfe6c10b101aaaf296550b4ec44c862 Mon Sep 17 00:00:00 2001 From: "Joshua L. Blocher" Date: Mon, 12 Jan 2009 01:25:52 +0000 Subject: Cmake: Fixed the extra -l in the link command, plus a add linking for all sub-libs of inkscape. (bzr r7120) --- src/libvpsc/CMakeLists.txt | 18 ++++++++++-------- 1 file changed, 10 insertions(+), 8 deletions(-) (limited to 'src/libvpsc') 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 -- cgit v1.2.3