Skip to content

Commit

Permalink
Extend configure logic due to auto_shared_fpic does not work (#25942)
Browse files Browse the repository at this point in the history
  • Loading branch information
perseoGI authored Nov 14, 2024
1 parent c16ecc4 commit b6e1195
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions recipes/tree-sitter-cql/all/conanfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,8 @@ def export_sources(self):
copy(self, "CMakeLists.txt", src=self.recipe_folder, dst=self.export_sources_folder)

def configure(self):
if self.options.get_safe("shared"):
self.options.rm_safe("fPIC")
self.settings.rm_safe("compiler.cppstd")
self.settings.rm_safe("compiler.libcxx")

Expand Down

0 comments on commit b6e1195

Please sign in to comment.