Made sure all parent directories are created, if necesssary
the build was successful Details

This commit is contained in:
tastytea 2018-08-31 19:22:00 +02:00
parent d3d4786e21
commit 4785f8ce64
Signed by: tastytea
GPG Key ID: CFC39497F1B26E07
2 changed files with 2 additions and 2 deletions

View File

@ -1,6 +1,6 @@
cmake_minimum_required (VERSION 3.7)
project(xdgcfg
VERSION 0.2.0
VERSION 0.2.1
LANGUAGES CXX
)

View File

@ -23,7 +23,7 @@ xdgcfg::xdgcfg(const string &filename, const string &subdir)
_filepath /= subdir;
if (!fs::exists(_filepath))
{
fs::create_directory(_filepath);
fs::create_directories(_filepath);
}
}
_filepath /= filename;