Skip to content

Commit

Permalink
Merge pull request #1032 from AlexisTM/feature/prevent_usage_of_boost
Browse files Browse the repository at this point in the history
Prevents the looking for boost if built without it for dependents
  • Loading branch information
redboltz authored Sep 2, 2022
2 parents cef8a6f + 0b2c6d9 commit d5cef62
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion msgpack-config.cmake.in
Original file line number Diff line number Diff line change
Expand Up @@ -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")

Expand Down

0 comments on commit d5cef62

Please sign in to comment.