1
0
mirror of https://bitbucket.org/librepilot/librepilot.git synced 2024-12-01 09:24:10 +01:00

LP-29 moved osg RPATHDIR definition to libs/osgearth/osgearth.pro

This commit is contained in:
Philippe Renon 2015-09-12 18:19:57 +02:00
parent 865e3b3f13
commit e3979b0024
3 changed files with 6 additions and 3 deletions

View File

@ -19,7 +19,6 @@ macx {
} else {
QMAKE_RPATHDIR = $$shell_quote(\$$ORIGIN)
QMAKE_RPATHDIR += $$shell_quote(\$$ORIGIN/$$relative_path($$GCS_QT_LIBRARY_PATH, $$GCS_LIBRARY_PATH))
QMAKE_RPATHDIR += $$shell_quote(\$$ORIGIN/$$relative_path($$GCS_LIBRARY_PATH/osg, $$GCS_LIBRARY_PATH))
include(rpath.pri)
target.path = /$$GCS_LIBRARY_BASENAME/gcs

View File

@ -6,12 +6,17 @@ DEFINES += OSGEARTH_LIBRARY
QT += widgets opengl qml quick
contains(DEFINES, OSG_USE_QT_PRIVATE) {
QT += core-private gui-private
QT += core-private gui-private
}
include(../../library.pri)
include(../utils/utils.pri)
linux {
QMAKE_RPATHDIR = $$shell_quote(\$$ORIGIN/$$relative_path($$GCS_LIBRARY_PATH/osg, $$GCS_LIBRARY_PATH))
include(../../rpath.pri)
}
# disable all warnings on mac to avoid build failures
macx:CONFIG += warn_off

View File

@ -31,7 +31,6 @@ macx {
QMAKE_RPATHDIR = $$shell_quote(\$$ORIGIN)
QMAKE_RPATHDIR += $$shell_quote(\$$ORIGIN/$$relative_path($$GCS_LIBRARY_PATH, $$DESTDIR))
QMAKE_RPATHDIR += $$shell_quote(\$$ORIGIN/$$relative_path($$GCS_QT_LIBRARY_PATH, $$DESTDIR))
QMAKE_RPATHDIR += $$shell_quote(\$$ORIGIN/$$relative_path($$GCS_LIBRARY_PATH/osg, $$DESTDIR))
include(rpath.pri)
}