[MacPorts] #17754: vxl-1.11.0 Shuffling library directories breaks UseVXL.cmake
MacPorts
noreply at macports.org
Tue Dec 23 19:16:14 PST 2008
#17754: vxl-1.11.0 Shuffling library directories breaks UseVXL.cmake
-------------------------------+--------------------------------------------
Reporter: andrew@… | Owner: macports-tickets@…
Type: defect | Status: new
Priority: Low | Milestone: Port Bugs
Component: ports | Version: 1.7.0
Keywords: | Port:
-------------------------------+--------------------------------------------
When you use VXL in a CMake project the standard way:
{{{
FIND_PACKAGE(VXL)
IF(VXL_FOUND)
INCLUDE(${VXL_CMAKE_DIR}/UseVXL.cmake)
ELSE(VXL_FOUND)
MESSAGE("VXL_DIR should be set to the VXL build directory.")
ENDIF(VXL_FOUND)
}}}
The LINK_DIRECTRIES is set to:
{{{
UseVXL.cmake:84: LINK_DIRECTORIES(${VXL_LIBRARY_DIR})
UseVXL.cmake:131: SET(VXL_LIBRARY_PATH ${VXL_LIBRARY_DIR})
}}}
Which is by default configured as:
{{{
VXLConfig.cmake:38:SET(VXL_LIBRARY_DIR "/opt/local/lib")
}}}
Small problem I know!
I also have made a variant of the vxl port to include DICOM support that I
can submit in another ticket.
Cheers,
Andy
--
Ticket URL: <http://trac.macports.org/ticket/17754>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
More information about the macports-tickets
mailing list