Skip to content

Commit

Permalink
Disable incompatible Macos builds
Browse files Browse the repository at this point in the history
  • Loading branch information
klimkin committed Dec 5, 2020
1 parent f54c8ad commit 88606ec
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion recipes/coz/all/conanfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ class CozConan(ConanFile):
_source_subfolder = "source_subfolder"

def configure(self):
if self.settings.compiler == "Visual Studio":
if self.settings.os == "Macos" or self.settings.compiler == "Visual Studio":
raise ConanInvalidConfiguration(
"libelfin doesn't support compiler: {} on OS: {}.".format(
self.settings.compiler, self.settings.os))
Expand Down

0 comments on commit 88606ec

Please sign in to comment.