Skip to content

Commit

Permalink
soci: fix @rpath on MacOS
Browse files Browse the repository at this point in the history
  • Loading branch information
Cogitri committed Apr 27, 2023
1 parent 59873f3 commit abcdb8c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions recipes/soci/all/conanfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -110,6 +110,8 @@ def source(self):
def generate(self):
tc = CMakeToolchain(self)

# MacOS @rpath
tc.cache_variables["CMAKE_POLICY_DEFAULT_CMP0042"] = "NEW"
tc.variables["SOCI_SHARED"] = self.options.shared
tc.variables["SOCI_STATIC"] = not self.options.shared
tc.variables["SOCI_TESTS"] = False
Expand Down

0 comments on commit abcdb8c

Please sign in to comment.