diff options
| author | Yoann Lopes <yoann.lopes@nokia.com> | 2010-07-13 23:02:31 +0200 |
|---|---|---|
| committer | Yoann Lopes <yoann.lopes@nokia.com> | 2010-07-13 23:02:31 +0200 |
| commit | 610301bcdce345afb38b3a207da8e9571cc71400 (patch) | |
| tree | 052d7e88f0cb08c14f89c17a960ddaa41c4d0d5b | |
| parent | c761ffbbc1abd8ed1ba5dc862bdfe1eaf6b63104 (diff) | |
Fixed use of Boost library when using Ogre 1.7
| -rw-r--r-- | qmlogre.pro | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/qmlogre.pro b/qmlogre.pro index 5b592d1..abbdb0d 100644 --- a/qmlogre.pro +++ b/qmlogre.pro @@ -8,7 +8,7 @@ isEmpty(OGREDIR) { error(QmlOgre needs Ogre to be built. Please set the environment variable OGRE_HOME pointing to your Ogre root directory.) } else { message(Using Ogre libraries in $$OGREDIR) - INCLUDEPATH += $$OGREDIR/include + INCLUDEPATH += $$OGREDIR/include/OGRE macx { QMAKE_LFLAGS += -F$$OGREDIR/lib/release LIBS += -framework Ogre @@ -17,6 +17,12 @@ isEmpty(OGREDIR) { } } +BOOSTDIR = $$OGREDIR/boost_1_42 +!isEmpty(BOOSTDIR) { + INCLUDEPATH += $$BOOSTDIR + LIBS += -L$$BOOSTDIR/lib -lboost_date_time-xgcc40-mt-1_42 -lboost_thread-xgcc40-mt-1_42 +} + UI_DIR = ./.ui OBJECTS_DIR = ./.obj MOC_DIR = ./.moc |
