Skip to content

Commit

Permalink
net-snmp: MSVC build is currently broken
Browse files Browse the repository at this point in the history
  • Loading branch information
valgur committed Aug 17, 2024
1 parent 0b8a321 commit 9021e52
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions recipes/net-snmp/all/conanfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,9 @@ def requirements(self):
def validate(self):
if self.settings.os == "Windows" and not is_msvc(self):
raise ConanInvalidConfiguration("net-snmp is set up to build only with MSVC on Windows")
if is_msvc(self):
# Linker errors against third-party dependencies
raise ConanInvalidConfiguration("MSVC is currently not supported. Contributions are welcome!")

def build_requirements(self):
if is_msvc(self):
Expand Down

0 comments on commit 9021e52

Please sign in to comment.