Rewrite several file path routines to use boost::filesystem

This is a basis for moving .gnucash to a more modern location for
application specific user data (following the xdg spec).
This commit is contained in:
Geert Janssens
2017-08-22 16:33:34 +02:00
parent 2006155985
commit ae75bc963f
26 changed files with 437 additions and 227 deletions

View File

@@ -438,7 +438,7 @@ SET (Boost_FIND_QUIETLY ON)
IF (NOT DEFINED ${BOOST_ROOT})
SET(BOOST_ROOT $ENV{BOOST_ROOT})
ENDIF()
FIND_PACKAGE (Boost 1.54.0 REQUIRED COMPONENTS date_time regex locale)
FIND_PACKAGE (Boost 1.54.0 REQUIRED COMPONENTS date_time regex locale filesystem)
IF (Boost_FOUND)
include_directories(${Boost_INCLUDE_DIRS})