Set BOOST_FILESYSTEM_VERSION if compiling with boost > 1.50.0

This commit is contained in:
HanzZ 2013-02-23 11:06:48 +01:00
parent 6a98ef2a8d
commit 551cb09a50

View file

@ -101,7 +101,7 @@ message( STATUS "Found Boost: ${Boost_VERSION}, ${Boost_LIBRARIES}, ${Boost_INCL
if (${Boost_VERSION} GREATER 104999)
message( STATUS "Using BOOST_FILESYSTEM_VERSION=3")
add_definitions(BOOST_FILESYSTEM_VERSION 3)
add_definitions(-DBOOST_FILESYSTEM_VERSION=3)
endif()
# FIND POPT