1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-06-19 00:17:56 +02:00

- gcc 4.5 / boost 1.46 compilation fixes

- configure will accept CXXFLAGS parameter correctly
- boost version check in ERMParser - to skip compilation with old boost
This commit is contained in:
Ivan Savenko
2011-03-29 17:16:10 +00:00
parent c6d0814062
commit 407acce4c6
7 changed files with 36 additions and 17 deletions

View File

@ -57,9 +57,9 @@ DLL_EXPORT void initDLL(CConsoleHandler *Console, std::ostream *Logfile)
using namespace boost::filesystem;
//parser checking
if(!exists("./Data/s/"))
if(!exists(DATA_DIR "/Data/s/"))
{
tlog3 << "Warning: Folder ./Data/s/ doesn't exist!\n";
tlog3 << "Warning: Folder " DATA_DIR "/Data/s/ doesn't exist!\n";
return;
}
directory_iterator enddir;
@ -286,4 +286,4 @@ void LibClasses::callWhenDeserializing()
generaltexth = new CGeneralTextHandler;
generaltexth->load();
arth->loadArtifacts(true);
}
}