From e694d62b3fb3ac5f8abe6d622c3576e0bdeb96f1 Mon Sep 17 00:00:00 2001 From: cbeall3 Date: Tue, 20 Oct 2015 14:41:28 -0400 Subject: [PATCH] Allow binding to optional rvalues (We should fix this properly) --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index b168077b3..0380b8a2f 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -131,7 +131,7 @@ endif() if(NOT (${Boost_VERSION} LESS 105600)) 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 -DBOOST_OPTIONAL_CONFIG_ALLOW_BINDING_TO_RVALUES) endif() ###############################################################################