conan-io / conan-center-index

Recipes for the ConanCenter repository
https://conan.io/center
MIT License
958 stars 1.75k forks source link

[package] Boost/1.8x: BOOST_BIND_GLOBAL_PLACEHOLDERS can't be set via conan recipe #23083

Open iso8859-1 opened 7 months ago

iso8859-1 commented 7 months ago

Description

Boost bind offers a define (BOOST_BIND_GLOBAL_PLACEHOLDERS) to retain compatibility (https://www.boost.org/doc/libs/master/boost/bind.hpp). It is currently not possible to set this via an option in the boost recipe

Package and Environment Details

Conan profile

[settings] arch=x86_64 build_type=Release compiler=msvc compiler.cppstd=14 compiler.runtime=dynamic compiler.version=193 os=Windows

Steps to reproduce

conan install -r conancenter boost/1.84.0 -pr:b=default -pr:h=default

Logs

no logs since the option is missing

iso8859-1 commented 7 months ago

I created a fork of the recipe that contains a fix: https://github.com/conan-io/conan-center-index/commit/4b227770633083d6b3cbf85c22585acc98f4f2fe