[MacPorts] #43195: cmake guru required so I can finish x265 Portfile

MacPorts noreply at macports.org
Fri Apr 4 07:51:13 PDT 2014


#43195: cmake guru required so I can finish x265 Portfile
----------------------+--------------------------------
  Reporter:  david@…  |      Owner:  macports-tickets@…
      Type:  request  |     Status:  new
  Priority:  Normal   |  Milestone:
 Component:  ports    |    Version:
Resolution:           |   Keywords:
      Port:  x265     |
----------------------+--------------------------------

Comment (by cal@…):

 I think you can add `-DCMAKE_INSTALL_NAME_DIR=$prefix/lib` to
 `configure.args`, but that's only good for the libraries. The correct way
 to fix that really is going through each add_library target and adding
 something along the lines of
 {{{
 set_target_properties(libname PROPERTIES
     INSTALL_NAME_DIR "${CMAKE_INSTALL_PREFIX}/${LIB_INSTALL_DIR}"
     BUILD_WITH_INSTALL_RPATH 1)
 }}}

-- 
Ticket URL: <https://trac.macports.org/ticket/43195#comment:9>
MacPorts <http://www.macports.org/>
Ports system for OS X


More information about the macports-tickets mailing list