diff options
-rw-r--r-- | CMakeLists.txt | 5 | ||||
-rw-r--r-- | src/system.hh.in | 1 |
2 files changed, 5 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 394cf3eb..96840934 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -20,7 +20,10 @@ endif() enable_testing() -add_definitions(-std=c++11) +add_definitions( + -std=c++11 + -DBOOST_FILESYSTEM_NO_DEPRECATED +) if (CYGWIN) add_definitions(-U__STRICT_ANSI__) endif() diff --git a/src/system.hh.in b/src/system.hh.in index f473bb8b..60ea0fd8 100644 --- a/src/system.hh.in +++ b/src/system.hh.in @@ -148,6 +148,7 @@ #include <boost/filesystem/exception.hpp> #include <boost/filesystem/fstream.hpp> #include <boost/filesystem/operations.hpp> +#include <boost/filesystem/directory.hpp> #include <boost/filesystem/path.hpp> #include <boost/foreach.hpp> |