Code

Cmake: Fixed the extra -l in the link command, plus a add linking for all sub-libs...
[inkscape.git] / src / libcroco / CMakeLists.txt
index 523855255bb45f6dc6ef2ced5832a42bf4ec4b2b..3ca55b4b55fe66840aab2a8879a6d34c37936376 100644 (file)
@@ -1,59 +1,32 @@
-SET(libcroco_SRC\r
-cr-additional-sel.c\r
-cr-additional-sel.h\r
-cr-attr-sel.c\r
-cr-attr-sel.h\r
-cr-cascade.c\r
-cr-cascade.h\r
-cr-declaration.c\r
-cr-declaration.h\r
-cr-doc-handler.c\r
-cr-doc-handler.h\r
-cr-enc-handler.c\r
-cr-enc-handler.h\r
-cr-fonts.c\r
-cr-fonts.h\r
-cr-input.c\r
-cr-input.h\r
-cr-libxml-node-iface.c\r
-cr-libxml-node-iface.h\r
-cr-node-iface.h\r
-cr-num.c\r
-cr-num.h\r
-cr-om-parser.c\r
-cr-om-parser.h\r
-cr-parser.c\r
-cr-parser.h\r
-cr-parsing-location.c\r
-cr-parsing-location.h\r
-cr-prop-list.c\r
-cr-prop-list.h\r
-cr-pseudo.c\r
-cr-pseudo.h\r
-cr-rgb.c\r
-cr-rgb.h\r
-cr-selector.c\r
-cr-selector.h\r
-cr-sel-eng.c\r
-cr-sel-eng.h\r
-cr-simple-sel.c\r
-cr-simple-sel.h\r
-cr-statement.c\r
-cr-statement.h\r
-cr-string.c\r
-cr-string.h\r
-cr-style.c\r
-cr-style.h\r
-cr-stylesheet.c\r
-cr-stylesheet.h\r
-cr-term.c\r
-cr-term.h\r
-cr-tknzr.c\r
-cr-tknzr.h\r
-cr-token.c\r
-cr-token.h\r
-cr-utils.c\r
-cr-utils.h\r
-libcroco.h\r
-)\r
-ADD_LIBRARY(inklibcroco STATIC ${libcroco_SRC})
\ No newline at end of file
+SET(libcroco_SRC
+cr-additional-sel.c
+cr-attr-sel.c
+cr-cascade.c
+cr-declaration.c
+cr-doc-handler.c
+cr-enc-handler.c
+cr-fonts.c
+cr-input.c
+cr-libxml-node-iface.c
+cr-num.c
+cr-om-parser.c
+cr-parser.c
+cr-parsing-location.c
+cr-prop-list.c
+cr-pseudo.c
+cr-rgb.c
+cr-selector.c
+cr-sel-eng.c
+cr-simple-sel.c
+cr-statement.c
+cr-string.c
+cr-style.c
+cr-stylesheet.c
+cr-term.c
+cr-tknzr.c
+cr-token.c
+cr-utils.c
+)
+ADD_LIBRARY(croco STATIC ${libcroco_SRC})
+TARGET_LINK_LIBRARIES(croco
+${INKSCAPE_LIBS})
\ No newline at end of file