Fixed cmake condition.

If MSGPACK_CXX17 is ON then build MSGPACK_CXX11 target.
This commit is contained in:
Takatoshi Kondo 2020-01-06 13:04:14 +09:00
parent f8b0ad1766
commit 0d7caecdb5
2 changed files with 2 additions and 2 deletions

View File

@ -1,4 +1,4 @@
IF (MSGPACK_CXX11)
IF (MSGPACK_CXX11 OR MSGPACK_CXX17)
INCLUDE_DIRECTORIES (
../include
)

View File

@ -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