Skip to content

Commit

Permalink
use old boost::optional implementation for newer boost
Browse files Browse the repository at this point in the history
fixes #777; see also 70c19e3
  • Loading branch information
l29ah committed Oct 28, 2016
1 parent b20dc20 commit f6e6d8a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@ if(${Boost_VERSION} LESS "105600")
)
endif()

if(${Boost_VERSION} EQUAL "106100")
if(${Boost_VERSION} EQUAL "106100" OR ${Boost_VERSION} GREATER "106100")
# with boost 1.61 some boost::optional internals were changed. However
# boost::spirit relies on some API the old implementation provided. This
# define enables the usage of the old boost::optional implementation.
Expand Down

0 comments on commit f6e6d8a

Please sign in to comment.