diff --git a/CMakeLists.txt b/CMakeLists.txt index 4996c55..3df539d 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,6 +1,6 @@ cmake_minimum_required (VERSION 3.7) project(xdgcfg - VERSION 0.2.0 + VERSION 0.2.1 LANGUAGES CXX ) diff --git a/src/xdgcfg.cpp b/src/xdgcfg.cpp index 3c4b09e..156cb36 100644 --- a/src/xdgcfg.cpp +++ b/src/xdgcfg.cpp @@ -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;