Skip to content

Commit

Permalink
azure-storage-cpp: make Apple libs relocatable
Browse files Browse the repository at this point in the history
  • Loading branch information
valgur committed Jul 17, 2024
1 parent 0ed24a3 commit 9bb8bb6
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions recipes/azure-storage-cpp/all/conanfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,10 @@ def generate(self):
tc.variables["GETTEXT_LIB_DIR"] = self.dependencies["libgettext"].cpp_info.libdir
if not valid_min_cppstd(self, self._minimum_cpp_standard):
tc.variables["CMAKE_CXX_STANDARD"] = self._minimum_cpp_standard
# Allow non-cache_variables to be used
tc.cache_variables["CMAKE_POLICY_DEFAULT_CMP0077"] = "NEW"
# Relocatable shared libs on macOS
tc.cache_variables["CMAKE_POLICY_DEFAULT_CMP0042"] = "NEW"
tc.generate()

deps = CMakeDeps(self)
Expand Down

0 comments on commit 9bb8bb6

Please sign in to comment.