|
|
@ -388,6 +388,7 @@ arg: with-libboost-inc=[path], Path to libboost include files |
|
|
|
arg: with-libboost-lib=[path], Path to libboost library files |
|
|
|
arg: with-libboost-lib=[path], Path to libboost library files |
|
|
|
-----END QCMOD----- |
|
|
|
-----END QCMOD----- |
|
|
|
*/ |
|
|
|
*/ |
|
|
|
|
|
|
|
#include <boost/version.hpp> |
|
|
|
class qc_libboost : public ConfObj |
|
|
|
class qc_libboost : public ConfObj |
|
|
|
{ |
|
|
|
{ |
|
|
|
public: |
|
|
|
public: |
|
|
@ -451,7 +452,11 @@ public: |
|
|
|
// Find library |
|
|
|
// Find library |
|
|
|
s = conf->getenv("QC_WITH_LIBBOOST_LIB"); |
|
|
|
s = conf->getenv("QC_WITH_LIBBOOST_LIB"); |
|
|
|
QStringList required_libs; |
|
|
|
QStringList required_libs; |
|
|
|
required_libs << "system" << "filesystem" << "thread"; |
|
|
|
required_libs |
|
|
|
|
|
|
|
#if BOOST_VERSION >= 103500 |
|
|
|
|
|
|
|
<< "system" |
|
|
|
|
|
|
|
#endif |
|
|
|
|
|
|
|
<< "filesystem" << "thread"; |
|
|
|
QStringList libDirs; |
|
|
|
QStringList libDirs; |
|
|
|
libDirs << "/usr/lib/" << "/usr/lib64/" << "/usr/local/lib/" << "/usr/local/lib64/"; |
|
|
|
libDirs << "/usr/lib/" << "/usr/lib64/" << "/usr/local/lib/" << "/usr/local/lib64/"; |
|
|
|
foreach(const QString& lib, required_libs) { |
|
|
|
foreach(const QString& lib, required_libs) { |
|
|
|