On macOS, make debug fails during dependency resolution:
ERROR: option 'with_unwind' doesn't exist
Possible options are ['shared', 'fPIC', 'with_gflags', 'with_threads']
glog's recipe removes with_unwind in config_options outside Linux/FreeBSD (libunwind is Linux-only), but conanfile.py sets it unconditionally at lines 339 and 352. Guarding both with the self.settings.os in ["Linux", "FreeBSD"] check already used at line 296 resolves it. Since the value set is False and macOS glog behaves as unwind-off, omitting the option is equivalent.
Environment: macOS arm64, apple-clang 17, conan 2.22.2. Happy to open a PR.
On macOS,
make debugfails during dependency resolution:glog's recipe removes
with_unwindinconfig_optionsoutside Linux/FreeBSD (libunwind is Linux-only), butconanfile.pysets it unconditionally at lines 339 and 352. Guarding both with theself.settings.os in ["Linux", "FreeBSD"]check already used at line 296 resolves it. Since the value set isFalseand macOS glog behaves as unwind-off, omitting the option is equivalent.Environment: macOS arm64, apple-clang 17, conan 2.22.2. Happy to open a PR.