[MacPorts] #58450: MacPorts installed cmake gives incoherent results

MacPorts noreply at macports.org
Mon May 6 23:58:16 UTC 2019


#58450: MacPorts installed cmake gives incoherent results
---------------------+-----------------------
  Reporter:  sandym  |      Owner:  michaelld
      Type:  defect  |     Status:  assigned
  Priority:  Normal  |  Milestone:
 Component:  ports   |    Version:
Resolution:          |   Keywords:
      Port:  cmake   |
---------------------+-----------------------

Comment (by michaelld):

 Hmm ... seems like we've probably set a default search path for headers to
 include the MacPorts' `${prefix}/include` but didn't set a default search
 path for libraries to include `${prefix}/lib` ... That would indeed be
 useful and appropriate. Do you have the skills to look into this issue? If
 not, I'll add it to my every-growing queue & we can all hope I get there
 this year. Luckily it's simple enough to issue the following command to
 find iconv or just about any other project; you just have to know the
 correct defines ...
 {{{
 cmake -DIconv_INCLUDE_DIRS=${prefix}/include
 --DIconv_LIBRARIES=${prefix}/lib/libiconv.dylib [PATH]
 }}}

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


More information about the macports-tickets mailing list