From 8bb398b88f2baeb769535846bccd03a7c1815d0d Mon Sep 17 00:00:00 2001 From: Damien Dupuis Date: Mon, 22 Aug 2011 08:40:46 +0000 Subject: [PATCH] Adding definition so compilation always use version 2 of boost/filesystem (and not v3 because our code is not compliant) --- bootstrap/cmake_modules/FindBootstrap.cmake | 1 + 1 file changed, 1 insertion(+) diff --git a/bootstrap/cmake_modules/FindBootstrap.cmake b/bootstrap/cmake_modules/FindBootstrap.cmake index b680a548..1cf1c9f4 100644 --- a/bootstrap/cmake_modules/FindBootstrap.cmake +++ b/bootstrap/cmake_modules/FindBootstrap.cmake @@ -193,6 +193,7 @@ foreach(LIBRARY IN LISTS ${Boost_LIBRARIES}) message(STATUS " ${LIBRARY}") endforeach(LIBRARY) + add_definitions(-DBOOST_FILESYSTEM_VERSION=2) # for boost 1.46 and more we need to specify to use filesystem v2 and not v3 endmacro(setup_boost)