mirror of
https://github.com/msgpack/msgpack-c.git
synced 2025-04-24 09:08:44 +02:00

To remove boost dependency, `-DMSGPACK_USE_BOOST=OFF` for cmake. By default, `-DMSGPACK_USE_BOOST` is `ON`. NOTE: In order to build tests `-DMSGPACK_USE_BOOST=ON` is required. For C++ compiler, the option `-DMSGPACK_NO_BOOST` is required to remove boost.
10 lines
185 B
CMake
10 lines
185 B
CMake
ADD_SUBDIRECTORY (cpp03)
|
|
ADD_SUBDIRECTORY (cpp11)
|
|
|
|
IF (MSGPACK_USE_BOOST)
|
|
ADD_SUBDIRECTORY (boost)
|
|
IF (MSGPACK_USE_X3_PARSE)
|
|
ADD_SUBDIRECTORY (x3)
|
|
ENDIF ()
|
|
ENDIF ()
|