Code

Cmake: Fixed the extra -l in the link command, plus a add linking for all sub-libs...
[inkscape.git] / src / 2geom / CMakeLists.txt
index e75c6174b520d68a71e892f42c29d162ee2656bf..b5461487dd659dcaf0b32c866bf6b3019646f704 100644 (file)
@@ -121,6 +121,6 @@ numeric/matrix.cpp
 )
 
 # make lib for 2geom
-ADD_LIBRARY(2geom ${LIB_TYPE} ${2GEOM_SRC})
+ADD_LIBRARY(2geom STATIC ${2GEOM_SRC})
 #TARGET_LINK_LIBRARIES(2geom blas gsl)
-TARGET_LINK_LIBRARIES(2geom "${LINK_GSL} ${GTK2_LINK_FLAGS}")
+TARGET_LINK_LIBRARIES(2geom ${INKSCAPE_LIBS})