Skip to content

Commit

Permalink
Manually override package_type when header_only
Browse files Browse the repository at this point in the history
  • Loading branch information
AbrilRBS authored Oct 2, 2023
1 parent c7a2502 commit 6f253a1
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions recipes/libigl/all/conanfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,8 @@ def config_options(self):
def configure(self):
if self.options.header_only:
self.options.rm_safe("fPIC")
# No automatic detection for non "library" package-types, manually override
self.package_type = "header-library"

def layout(self):
cmake_layout(self, src_folder="src")
Expand Down

0 comments on commit 6f253a1

Please sign in to comment.