Prevent looking for Boost if we do not need it

This commit is contained in:
Alexis Paques
2022-08-31 11:04:31 +00:00
parent cef8a6fdfa
commit 0b2c6d9d1a
+3 -1
View File
@@ -2,7 +2,9 @@
include(CMakeFindDependencyMacro)
find_dependency(Boost REQUIRED)
IF (@MSGPACK_USE_BOOST@)
find_dependency(Boost REQUIRED)
ENDIF ()
include("${CMAKE_CURRENT_LIST_DIR}/msgpackc-cxx-targets.cmake")