diff --git a/CMakeLists.txt b/CMakeLists.txt index 0bbabde..3bcf0fb 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,6 +1,6 @@ cmake_minimum_required (VERSION 3.6) project (whyblocked - VERSION 0.6.0 + VERSION 0.6.1 LANGUAGES CXX ) diff --git a/src/whyblocked.cpp b/src/whyblocked.cpp index e41c0d4..f78ed17 100644 --- a/src/whyblocked.cpp +++ b/src/whyblocked.cpp @@ -40,7 +40,7 @@ const string get_filepath() filepath += "/whyblocked"; if (!fs::exists(filepath)) { - fs::create_directory(filepath); + fs::create_directories(filepath); } filepath += "/database.sqlite"; if (!fs::exists(filepath))