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:
@ -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);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user