run gettext with force_host_context

Contributes to CURA-10376
This commit is contained in:
Jelle Spijker 2023-03-08 11:05:04 +01:00
parent 73e0fd74b5
commit b4632f67a2
No known key found for this signature in database
GPG key ID: 034D1C0527888B65

View file

@ -293,7 +293,7 @@ class CuraConan(ConanFile):
if self.options.devtools:
if self.settings.os != "Windows" or self.conf.get("tools.microsoft.bash:path", check_type = str):
# FIXME: once m4, autoconf, automake are Conan V2 ready use self.win_bash and add gettext as base tool_requirement
self.tool_requires("gettext/0.21@ultimaker/testing")
self.tool_requires("gettext/0.21@ultimaker/testing", force_host_context = True)
def layout(self):
self.folders.source = "."