Adding definition so compilation always use version 2 of boost/filesystem (and not v3 because our code is not compliant)

This commit is contained in:
Damien Dupuis 2011-08-22 08:40:46 +00:00
parent 1a23d73b22
commit 8bb398b88f
1 changed files with 1 additions and 0 deletions

View File

@ -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)