Skip to content

Commit

Permalink
Update recipes/platformfolders/all/conanfile.py
Browse files Browse the repository at this point in the history
Co-authored-by: Uilian Ries <uilianries@gmail.com>
  • Loading branch information
AbrilRBS and uilianries authored May 10, 2024
1 parent d2a17b8 commit 0dc398e
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions recipes/platformfolders/all/conanfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,9 @@ def config_options(self):
def configure(self):
if self.options.shared:
self.options.rm_safe("fPIC")
if is_msvc(self):
self.package_type = "static-library"
del self.options.shared

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

0 comments on commit 0dc398e

Please sign in to comment.