Skip to content

Commit

Permalink
ios-cmake: fix build
Browse files Browse the repository at this point in the history
  • Loading branch information
valgur committed Jul 15, 2024
1 parent 47e9cde commit 6a7f72e
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion recipes/ios-cmake/all/conanfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ def _platform_info(self):
if is_apple_os(self):
if not getattr(self, "settings_target", None):
# not a build_require, but can be fine since its build as a ppr:b, but nothing to do
return
return None, None, None
# this is where I want to be, expecting this as a build_require for a host
target_os = str(self.settings_target.os)
arch_flag = self.settings_target.arch
Expand All @@ -137,6 +137,9 @@ def _platform_info(self):

def package_info(self):
target_os, arch_flag, target_version = self._platform_info
if not target_os:
return

if self.options.toolchain_target == "auto":
toolchain_target = self._guess_toolchain_target(target_os, arch_flag)
else:
Expand Down

0 comments on commit 6a7f72e

Please sign in to comment.