Fixed boost::filesystem compatibility with newer boost

This commit is contained in:
HanzZ 2011-09-20 18:21:38 +02:00
parent 8fa4354942
commit d41a6550d0
2 changed files with 2 additions and 0 deletions

View file

@ -44,6 +44,7 @@ FIND_PACKAGE(Qt4 COMPONENTS QtCore)
# ADD_DEFINITIONS(${SWIFTEN_CFLAGS})
ADD_DEFINITIONS(-DSUPPORT_LEGACY_CAPS)
ADD_DEFINITIONS(-DBOOST_FILESYSTEM_VERSION=2)
message(" Supported features")
message("-----------------------")

View file

@ -23,6 +23,7 @@
#include "log4cxx/propertyconfigurator.h"
#include "log4cxx/consoleappender.h"
#include "libgen.h"
#include <sys/stat.h>
using namespace log4cxx;