[MacPorts] #18420: cmake's FIND_PATH and FIND_LIBRARY don't give priority to port-provided libraries over system-provided ones

MacPorts noreply at macports.org
Tue Feb 10 03:05:06 PST 2009


#18420: cmake's FIND_PATH and FIND_LIBRARY don't give priority to port-provided
libraries over system-provided ones
------------------------------------------------+---------------------------
 Reporter:  vvrbanc@…                           |       Owner:  css@…           
     Type:  defect                              |      Status:  new             
 Priority:  Not set                             |   Milestone:  Port Bugs       
Component:  ports                               |     Version:  1.7.0           
 Keywords:  find_path find_library strigi kde4  |        Port:  cmake           
------------------------------------------------+---------------------------

Comment(by css@…):

 According to the
 [http://www.cmake.org/cmake/help/cmake2.6docs.html#command:find_path CMake
 FIND_PATH documentation]. CMake will by default include several additional
 search locations. You need to set `NO_DEFAULT_PATH` if you do not want
 CMake to search those additional locations. As noted on that page, you can
 fine-tune the excluded default paths. CMake is working correctly based on
 that page, and you need to fine-tune its search behavior according to your
 need to explicitly avoid the system paths.

-- 
Ticket URL: <http://trac.macports.org/ticket/18420#comment:2>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list