Browse Source

Improved libboost detection again

adaptive-webui-19844
Christophe Dumez 15 years ago
parent
commit
37650d8156
  1. 2
      configure
  2. 2
      qcm/libboost.qcm

2
configure vendored

@ -398,7 +398,7 @@ public:
QString name; QString name;
QDir libDir(path); QDir libDir(path);
QStringList filters; QStringList filters;
filters << "libboost_"+lib+"*-mt.so"; filters << "libboost_"+lib+"*-mt*.so";
QStringList result = libDir.entryList(filters, QDir::Files); QStringList result = libDir.entryList(filters, QDir::Files);
if(!result.empty()) { if(!result.empty()) {
name = result.first().mid(3); name = result.first().mid(3);

2
qcm/libboost.qcm

@ -15,7 +15,7 @@ public:
QString name; QString name;
QDir libDir(path); QDir libDir(path);
QStringList filters; QStringList filters;
filters << "libboost_"+lib+"*-mt.so"; filters << "libboost_"+lib+"*-mt*.so";
QStringList result = libDir.entryList(filters, QDir::Files); QStringList result = libDir.entryList(filters, QDir::Files);
if(!result.empty()) { if(!result.empty()) {
name = result.first().mid(3); name = result.first().mid(3);

Loading…
Cancel
Save