cmake: Make boost mandatory if MSGPACK_BOOST is ON

Signed-off-by: Stefan Herbrechtsmeier <stefan@herbrechtsmeier.net>
This commit is contained in:
Stefan Herbrechtsmeier
2017-05-12 22:32:01 +02:00
parent 918e7edba4
commit 0aaf95608f
4 changed files with 8 additions and 12 deletions

View File

@@ -22,7 +22,7 @@ IF (NOT MSVC)
)
ENDIF ()
IF (Boost_TIMER_LIBRARY AND Boost_CHRONO_LIBRARY AND Boost_SYSTEM_LIBRARY)
IF (MSGPACK_BOOST)
LIST (APPEND with_boost_lib_PROGRAMS
speed_test.cpp
speed_test_nested_array.cpp