New Ticket     Tickets     Wiki     Browse Source     Timeline     Roadmap     Ticket Reports     Search

Ticket #20244 (closed defect: fixed)

Opened 4 years ago

Last modified 4 years ago

cmake modules can not find frameworks in ${prefix}/Library/Frameworks

Reported by: mmoll@… Owned by: css@…
Priority: Normal Milestone:
Component: ports Version: 1.8.0
Keywords: cmake Frameworks Cc: mmoll@…, drew.h.bryant@…
Port: cmake

Description

One line change will force cmake to check ${prefix}/Library/Frameworks before the other system-wide Framework locations.

Attachments

patch-CMakeFindFrameworks.cmake.diff (470 bytes) - added by mmoll@… 4 years ago.
Portfile (1.4 KB) - added by mmoll@… 4 years ago.

Change History

comment:1 Changed 4 years ago by css@…

  • Status changed from new to assigned

This would only work when the prefix is /opt/local. A better fix might be to patch first, then use reinplace to insert the MacPorts prefix.

Changed 4 years ago by mmoll@…

Changed 4 years ago by mmoll@…

comment:2 Changed 4 years ago by mmoll@…

Updated patch and Portfile. Please check and commit.

comment:3 Changed 4 years ago by css@…

  • Status changed from assigned to closed
  • Version changed from 1.7.1 to 1.8.0
  • Resolution set to fixed

This seems to work nicely, thanks for the patch! Now if only it was that easy for all the other modules to look in $prefix! Committed to r57041.

Note: See TracTickets for help on using tickets.