Skip to content

Commit

Permalink
Link only boost components specified in requirements
Browse files Browse the repository at this point in the history
  • Loading branch information
Hopobcn committed Jan 15, 2024
1 parent bb319ff commit de46f21
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions recipes/folly/all/conanfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -233,6 +233,7 @@ def _patch_sources(self):
apply_conandata_patches(self)
folly_deps = os.path.join(self.source_folder, "CMake", "folly-deps.cmake")
replace_in_file(self, folly_deps, " MODULE", " ")
replace_in_file(self, folly_deps, "${Boost_LIBRARIES}", f"{' '.join(self._required_boost_cmake_targets)}")
replace_in_file(self, folly_deps, "OpenSSL 1.1.1", "OpenSSL")
# Disable example
save(self, os.path.join(self.source_folder, "folly", "logging", "example", "CMakeLists.txt"), "")
Expand Down

0 comments on commit de46f21

Please sign in to comment.