summaryrefslogtreecommitdiff
path: root/src/imports/location/location.pro
diff options
context:
space:
mode:
Diffstat (limited to 'src/imports/location/location.pro')
-rw-r--r--src/imports/location/location.pro12
1 files changed, 2 insertions, 10 deletions
diff --git a/src/imports/location/location.pro b/src/imports/location/location.pro
index c04a16e0..53ef61a6 100644
--- a/src/imports/location/location.pro
+++ b/src/imports/location/location.pro
@@ -5,16 +5,6 @@ INCLUDEPATH += ../../location/maps
INCLUDEPATH += ../../positioning
INCLUDEPATH *= $$PWD
-LIBS += -L../../3rdparty/poly2tri -lpoly2tri
-
-win32 {
- CONFIG(debug, debug|release) {
- LIBS += -L../../3rdparty/poly2tri/debug
- } else {
- LIBS += -L../../3rdparty/poly2tri/release
- }
-}
-
HEADERS += \
qdeclarativegeomapitemview_p.h \
qdeclarativegeoserviceprovider_p.h \
@@ -66,6 +56,8 @@ include(declarativeplaces/declarativeplaces.pri)
load(qml_plugin)
+LIBS_PRIVATE += -L$$MODULE_BASE_OUTDIR/lib -lpoly2tri$$qtPlatformTargetSuffix()
+
OTHER_FILES += \
plugin.json \
qmldir