[MacPorts] #64757: How to enable Cmake to find Boost?

MacPorts noreply at macports.org
Sun May 7 16:32:36 UTC 2023


#64757: How to enable Cmake to find Boost?
---------------------------+---------------------
  Reporter:  barracuda156  |      Owner:  mascguy
      Type:  request       |     Status:  closed
  Priority:  Normal        |  Milestone:
 Component:  ports         |    Version:  2.7.1
Resolution:  invalid       |   Keywords:  powerpc
      Port:  cmake         |
---------------------------+---------------------
Changes (by mascguy):

 * status:  assigned => closed
 * resolution:   => invalid


Comment:

 Replying to [comment:5 mascguy]:
 > While the behavior makes sense in-general, we should also expose an
 option for the fallback version. That way ports can override it, if they
 really want/need to.
 >
 > I'm thinking `boost.fallback_version`, which would default to the
 present value (1.71).

 Actually, the existing behavior of pg `boost` shouldn't require any
 changes: The fallback version is only set once, when the pg is included.
 But that's overridden if the port specifies `boost.version`.

 Net-Net, specify `boost.version 1.76` (or whatever version you want), and
 you're set.

 Also, you don't need to specify `boost176` in your list of dependencies,
 as the pg will add that automatically.

-- 
Ticket URL: <https://trac.macports.org/ticket/64757#comment:6>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list