Cherry-picked Boost 1.57 l-value assignment fix

release/4.3a0
cbeall3 2015-01-20 13:28:33 -05:00
parent 4c2e387204
commit d623f80719
1 changed files with 1 additions and 1 deletions

View File

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