Rvalue fix for Boost 1.56+ instead of only 1.56

release/4.3a0
Chris Beall 2014-11-23 19:50:16 -05:00
parent a7dd61ebbc
commit deb9d93672
1 changed files with 1 additions and 1 deletions

View File

@ -129,7 +129,7 @@ else()
endif()
if(${Boost_VERSION} EQUAL 105600)
if(NOT (${Boost_VERSION} LESS 105600))
message("Ignoring Boost restriction on optional lvalue assignment from rvalues")
add_definitions(-DBOOST_OPTIONAL_ALLOW_BINDING_TO_RVALUES)
endif()