Fix linux build (and break windows again? :P hopefully this works for both)

parent 3d8be4e1
......@@ -198,9 +198,9 @@ set(kritaimage_LIB_SRCS
kis_transaction_data.cpp
kis_transform_worker.cc
kis_perspectivetransform_worker.cpp
#bsplines/kis_bspline_1d.cpp
#bsplines/kis_bspline_2d.cpp
#bsplines/kis_nu_bspline_2d.cpp
bsplines/kis_bspline_1d.cpp
bsplines/kis_bspline_2d.cpp
bsplines/kis_nu_bspline_2d.cpp
kis_warptransform_worker.cc
kis_cage_transform_worker.cpp
kis_green_coordinates_math.cpp
......@@ -251,14 +251,14 @@ set(kritaimage_LIB_SRCS
recorder/kis_recorded_shape_paint_action.cpp
)
#set(einspline_SRCS
# bsplines/einspline/bspline_create.c
# bsplines/einspline/bspline_data.c
# bsplines/einspline/multi_bspline_create.c
# bsplines/einspline/nubasis.c
# bsplines/einspline/nubspline_create.c
# bsplines/einspline/nugrid.c
#)
set(einspline_SRCS
bsplines/einspline/bspline_create.c
bsplines/einspline/bspline_data.c
bsplines/einspline/multi_bspline_create.c
bsplines/einspline/nubasis.c
bsplines/einspline/nubspline_create.c
bsplines/einspline/nugrid.c
)
SET_SOURCE_FILES_PROPERTIES(${einspline_SRCS} PROPERTIES COMPILE_FLAGS -std=c99)
......
......@@ -25,6 +25,7 @@
#include <QPolygonF>
#include <cmath>
#include <kis_global.h>
#include <krita_export.h>
namespace KisAlgebra2D {
......@@ -127,7 +128,7 @@ void KRITAIMAGE_EXPORT adjustIfOnPolygonBoundary(const QPolygonF &poly, int poly
* R. The function applies the same transformation to \pt and returns
* the result.
**/
QPointF transformAsBase(const QPointF &pt, const QPointF &base1, const QPointF &base2);
QPointF KRITAIMAGE_EXPORT transformAsBase(const QPointF &pt, const QPointF &base1, const QPointF &base2);
qreal KRITAIMAGE_EXPORT angleBetweenVectors(const QPointF &v1, const QPointF &v2);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment