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:
parent
1a23d73b22
commit
8bb398b88f
|
@ -193,6 +193,7 @@
|
||||||
foreach(LIBRARY IN LISTS ${Boost_LIBRARIES})
|
foreach(LIBRARY IN LISTS ${Boost_LIBRARIES})
|
||||||
message(STATUS " ${LIBRARY}")
|
message(STATUS " ${LIBRARY}")
|
||||||
endforeach(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)
|
endmacro(setup_boost)
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue