Skip to content

Commit

Permalink
Fix library directory order
Browse files Browse the repository at this point in the history
This moves path to -ltiled before system library locations, fixing the
case where libtiled from (older) installed version of tiled is
picked up instead of newly built one.
  • Loading branch information
AMDmi3 authored and bjorn committed Mar 6, 2013
1 parent 92e22d4 commit df962da
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/automappingconverter/automappingconverter.pro
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ macx {
} else:win32 {
LIBS += -L$$OUT_PWD/../../lib
} else {
QMAKE_LIBDIR += $$OUT_PWD/../../lib
QMAKE_LIBDIR = $$OUT_PWD/../../lib $$QMAKE_LIBDIR
}

# Make sure the executable can find libtiled
Expand Down
2 changes: 1 addition & 1 deletion src/tiled/tiled.pro
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ macx {
} else:win32 {
LIBS += -L$$OUT_PWD/../../lib
} else {
QMAKE_LIBDIR += $$OUT_PWD/../../lib
QMAKE_LIBDIR = $$OUT_PWD/../../lib $$QMAKE_LIBDIR
}

# Make sure the Tiled executable can find libtiled
Expand Down
2 changes: 1 addition & 1 deletion src/tmxrasterizer/tmxrasterizer.pro
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ macx {
} else:win32 {
LIBS += -L$$OUT_PWD/../../lib
} else {
QMAKE_LIBDIR += $$OUT_PWD/../../lib
QMAKE_LIBDIR = $$OUT_PWD/../../lib $$QMAKE_LIBDIR
}

# Make sure the executable can find libtiled
Expand Down
2 changes: 1 addition & 1 deletion src/tmxviewer/tmxviewer.pro
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ macx {
} else:win32 {
LIBS += -L$$OUT_PWD/../../lib
} else {
QMAKE_LIBDIR += $$OUT_PWD/../../lib
QMAKE_LIBDIR = $$OUT_PWD/../../lib $$QMAKE_LIBDIR
}

# Make sure the executable can find libtiled
Expand Down

0 comments on commit df962da

Please sign in to comment.