[MacPorts] #62698: restrictive patch to CMake's find frameworks algorithm

MacPorts noreply at macports.org
Wed Apr 14 20:37:19 UTC 2021


#62698: restrictive patch to CMake's find frameworks algorithm
---------------------+-----------------------
  Reporter:  RJVB    |      Owner:  michaelld
      Type:  defect  |     Status:  assigned
  Priority:  Normal  |  Milestone:
 Component:  ports   |    Version:
Resolution:          |   Keywords:
      Port:  cmake   |
---------------------+-----------------------

Comment (by michaelld):

 These thoughts might be part of the noted PR ... adding them for the sake
 of completion:

 1) We (or at least I) want the defaults for CMake as supplied by MP to
 search through MP paths first, then system paths.

 2) In the case all else fails in (1), we don't want defaults pointing to
 other locations unless specified within 'port' somehow (the Portfile, a
 PortGroup, user preferences, etc).

 3) The developer using MP CMake can always specify paths for CMake to
 search that are outside of any from (1). I'm pretty sure with modern CMake
 these paths can search first or last. Thus with the equivalent of a "CMake
 portgroup" one can batch-configure projects to all point to the same
 search directories. Not perfect, but it would work.

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


More information about the macports-tickets mailing list