Skip to content

Commit

Permalink
Add libsystemd requirement for Linux builds
Browse files Browse the repository at this point in the history
This change adds a specific version of libsystemd as a requirement when building on Linux, especially to support Arch-based systems. The override ensures compatibility and resolution of dependency conflicts during compilation.

NP-637
  • Loading branch information
jellespijker committed Dec 5, 2024
1 parent 0b6f65a commit 9062500
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions conanfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -124,6 +124,8 @@ def requirements(self):
self.requires("range-v3/0.12.0")
self.requires("zlib/1.3.1")
self.requires("mapbox-wagyu/0.5.0@ultimaker/stable")
if self.settings.os == "Linux":
self.requires("libsystemd/255.10", override=True) # Required for compiling on Arch-based systems

def generate(self):
deps = CMakeDeps(self)
Expand Down

0 comments on commit 9062500

Please sign in to comment.