Skip to content

Commit

Permalink
delete "shared" option on Windows in configure step
Browse files Browse the repository at this point in the history
  • Loading branch information
Latios96 committed Jun 30, 2022
1 parent 37117f6 commit 42a07ce
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions recipes/opensubdiv/all/conanfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,13 +46,15 @@ def _build_subfolder(self):
return "build_subfolder"

def config_options(self):
if self.settings.os == "Windows":
del self.options.shared
if self.settings.os != "Windows":
del self.options.with_dx
if self.settings.os != "Macos":
del self.options.with_metal

def configure(self):
if self.settings.os == "Windows":
del self.options.shared

def requirements(self):
if self.options.with_tbb:
self.requires("onetbb/2020.3")
Expand Down

0 comments on commit 42a07ce

Please sign in to comment.