From deb9d936727104c9dfc2f2f9cb163e1de37c178e Mon Sep 17 00:00:00 2001 From: Chris Beall Date: Sun, 23 Nov 2014 19:50:16 -0500 Subject: [PATCH] Rvalue fix for Boost 1.56+ instead of only 1.56 --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 754279e53..bbf4ebb53 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -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()