mirror of
https://github.com/vcmi/vcmi.git
synced 2024-11-24 08:32:34 +02:00
fix boost
This commit is contained in:
parent
42059d18c3
commit
10da13729c
@ -131,7 +131,11 @@ void ChroniclesExtractor::createBaseMod() const
|
|||||||
if(boost::filesystem::exists(file))
|
if(boost::filesystem::exists(file))
|
||||||
{
|
{
|
||||||
boost::filesystem::create_directories(destFolder);
|
boost::filesystem::create_directories(destFolder);
|
||||||
|
#if BOOST_VERSION >= 107400
|
||||||
boost::filesystem::copy_file(file, destFolder / "portraitsChronicles.json", boost::filesystem::copy_options::overwrite_existing);
|
boost::filesystem::copy_file(file, destFolder / "portraitsChronicles.json", boost::filesystem::copy_options::overwrite_existing);
|
||||||
|
#else
|
||||||
|
boost::filesystem::copy_file(file, destFolder / "portraitsChronicles.json", boost::filesystem::copy_option::overwrite_if_exists);
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user