From 1a5e3ad021fd6a168e7276c720e6324f777377ae Mon Sep 17 00:00:00 2001
From: Andre Sailer <andre.philippe.sailer@cern.ch>
Date: Thu, 3 Oct 2019 13:22:33 +0200
Subject: [PATCH] CMake: When needing boost::filesystem we need at least 1.56

---
 cmake/DD4hepBuild.cmake | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/cmake/DD4hepBuild.cmake b/cmake/DD4hepBuild.cmake
index c1b2e9d3d..174a22a20 100644
--- a/cmake/DD4hepBuild.cmake
+++ b/cmake/DD4hepBuild.cmake
@@ -709,7 +709,7 @@ MACRO(DD4HEP_SETUP_BOOST_TARGETS)
 
   IF(NOT HAVE_FILESYSTEM)
     dd4hep_print("|++> Compiler does not have filesystem support, falling  back to Boost::filesystem")
-    FIND_PACKAGE(Boost 1.49 REQUIRED COMPONENTS filesystem system)
+    FIND_PACKAGE(Boost 1.56 REQUIRED COMPONENTS filesystem system)
     SET(FS_LIBRARIES Boost::filesystem Boost::system)
     SET_TARGET_PROPERTIES(Boost::filesystem
       PROPERTIES
-- 
GitLab