Conditional include msgpack::variant.

It uses boost::variant. boost::variant requires boost::tyoe_index.
boost::type index has dropped C++03 support.
This commit is contained in:
Takatoshi Kondo
2024-08-06 11:21:55 +09:00
parent 22f6fa1cd2
commit 636a0130ba
2 changed files with 5 additions and 1 deletions

View File

@@ -8,7 +8,6 @@ LIST (APPEND check_PROGRAMS
boost_optional.cpp
boost_string_ref.cpp
boost_string_view.cpp
boost_variant.cpp
buffer.cpp
carray.cpp
cases.cpp
@@ -43,6 +42,7 @@ ENDIF ()
IF (MSGPACK_CXX11 OR MSGPACK_CXX14 OR MSGPACK_CXX17 OR MSGPACK_CXX20)
LIST (APPEND check_PROGRAMS
boost_variant.cpp
iterator_cpp11.cpp
msgpack_cpp11.cpp
reference_cpp11.cpp