Skip to content

Commit

Permalink
#9532: Force deps to be built statically
Browse files Browse the repository at this point in the history
  • Loading branch information
yan-zaretskiy committed Jun 21, 2024
1 parent b5553d3 commit 96504b0
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions cmake/dependencies.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ CPMAddPackage(
OPTIONS
"YAML_CPP_BUILD_TESTS OFF"
"YAML_CPP_BUILD_TOOLS OFF"
"YAML_BUILD_SHARED_LIBS OFF"
)

if (yaml-cpp_ADDED)
Expand Down
2 changes: 2 additions & 0 deletions cmake/fetch_boost.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@ function(fetch_boost_library BOOST_PROJECT_NAME)
NAME boost_${BOOST_PROJECT_NAME}
GITHUB_REPOSITORY boostorg/${BOOST_PROJECT_NAME}
GIT_TAG boost-1.85.0
OPTIONS
"BUILD_SHARED_LIBS OFF"
)

get_target_property(BOOST_INTERFACE_LINK_LIBRARIES
Expand Down

0 comments on commit 96504b0

Please sign in to comment.