mirror of
https://github.com/msgpack/msgpack-c
synced 2026-06-08 16:11:40 +00:00
Prevent looking for Boost if we do not need it
This commit is contained in:
@@ -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")
|
||||
|
||||
|
||||
Reference in New Issue
Block a user