diff --git a/CMakeLists.txt b/CMakeLists.txt index 6f35860..f37299d 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,6 +1,6 @@ cmake_minimum_required (VERSION 3.7) project(xdgjson - VERSION 0.2.0 + VERSION 0.2.1 LANGUAGES CXX ) diff --git a/src/xdgjson.cpp b/src/xdgjson.cpp index 01869ed..795add6 100644 --- a/src/xdgjson.cpp +++ b/src/xdgjson.cpp @@ -20,7 +20,7 @@ xdgjson::xdgjson(const string &filename, const string &subdir) _filepath /= subdir; if (!fs::exists(_filepath)) { - fs::create_directory(_filepath); + fs::create_directories(_filepath); } } _filepath /= filename;