Ticket #17754 (new defect)
vxl-1.11.0 Shuffling library directories breaks UseVXL.cmake
| Reported by: | andrew@… | Owned by: | wiking@… |
|---|---|---|---|
| Priority: | Normal | Milestone: | |
| Component: | ports | Version: | |
| Keywords: | Cc: | ||
| Port: | vxl |
Description
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
Change History
Note: See
TracTickets for help on using
tickets.

