diff --git a/example/cpp11/CMakeLists.txt b/example/cpp11/CMakeLists.txt index c932a603..eb085ed1 100644 --- a/example/cpp11/CMakeLists.txt +++ b/example/cpp11/CMakeLists.txt @@ -1,4 +1,4 @@ -IF (MSGPACK_CXX11) +IF (MSGPACK_CXX11 OR MSGPACK_CXX17) INCLUDE_DIRECTORIES ( ../include ) diff --git a/test/CMakeLists.txt b/test/CMakeLists.txt index 56c6b7aa..7924930c 100644 --- a/test/CMakeLists.txt +++ b/test/CMakeLists.txt @@ -55,7 +55,7 @@ IF (MSGPACK_USE_X3_PARSE) ) ENDIF () -IF (MSGPACK_CXX11) +IF (MSGPACK_CXX11 OR MSGPACK_CXX17) LIST (APPEND check_PROGRAMS iterator_cpp11.cpp msgpack_cpp11.cpp