mirror of
https://github.com/msgpack/msgpack-c.git
synced 2025-05-29 07:25:55 +02:00
Fixed cmake condition.
If MSGPACK_CXX17 is ON then build MSGPACK_CXX11 target.
This commit is contained in:
parent
f8b0ad1766
commit
0d7caecdb5
@ -1,4 +1,4 @@
|
|||||||
IF (MSGPACK_CXX11)
|
IF (MSGPACK_CXX11 OR MSGPACK_CXX17)
|
||||||
INCLUDE_DIRECTORIES (
|
INCLUDE_DIRECTORIES (
|
||||||
../include
|
../include
|
||||||
)
|
)
|
||||||
|
@ -55,7 +55,7 @@ IF (MSGPACK_USE_X3_PARSE)
|
|||||||
)
|
)
|
||||||
ENDIF ()
|
ENDIF ()
|
||||||
|
|
||||||
IF (MSGPACK_CXX11)
|
IF (MSGPACK_CXX11 OR MSGPACK_CXX17)
|
||||||
LIST (APPEND check_PROGRAMS
|
LIST (APPEND check_PROGRAMS
|
||||||
iterator_cpp11.cpp
|
iterator_cpp11.cpp
|
||||||
msgpack_cpp11.cpp
|
msgpack_cpp11.cpp
|
||||||
|
Loading…
x
Reference in New Issue
Block a user