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:
parent
865e3b3f13
commit
e3979b0024
@ -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
|
||||
|
@ -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
|
||||
|
||||
|
@ -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)
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user