Skip to content

Commit 0d7caec

Browse files
committed
Fixed cmake condition.
If MSGPACK_CXX17 is ON then build MSGPACK_CXX11 target.
1 parent f8b0ad1 commit 0d7caec

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

example/cpp11/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
IF (MSGPACK_CXX11)
1+
IF (MSGPACK_CXX11 OR MSGPACK_CXX17)
22
INCLUDE_DIRECTORIES (
33
../include
44
)

test/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ IF (MSGPACK_USE_X3_PARSE)
5555
)
5656
ENDIF ()
5757

58-
IF (MSGPACK_CXX11)
58+
IF (MSGPACK_CXX11 OR MSGPACK_CXX17)
5959
LIST (APPEND check_PROGRAMS
6060
iterator_cpp11.cpp
6161
msgpack_cpp11.cpp

0 commit comments

Comments
 (0)