Skip to content

Commit 9062500

Browse files
committed
Add libsystemd requirement for Linux builds
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
1 parent 0b6f65a commit 9062500

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

conanfile.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -124,6 +124,8 @@ def requirements(self):
124124
self.requires("range-v3/0.12.0")
125125
self.requires("zlib/1.3.1")
126126
self.requires("mapbox-wagyu/0.5.0@ultimaker/stable")
127+
if self.settings.os == "Linux":
128+
self.requires("libsystemd/255.10", override=True) # Required for compiling on Arch-based systems
127129

128130
def generate(self):
129131
deps = CMakeDeps(self)

0 commit comments

Comments
 (0)