Opened 16 years ago

Closed 11 years ago

#17754 closed defect (worksforme)

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 (9)

comment:1 Changed 16 years ago by jmroot (Joshua Root)

Owner: changed from macports-tickets@… to toby@…
Port: vxl added

comment:2 Changed 16 years ago by tobypeterson

Status: newassigned

comment:3 Changed 16 years ago by tobypeterson

Milestone: Port Bugs
Version: 1.7.0

comment:4 Changed 16 years ago by blb@…

Milestone: Port Bugs

comment:5 Changed 16 years ago by (none)

Milestone: Port Bugs

Milestone Port Bugs deleted

comment:6 Changed 15 years ago by tobypeterson

Priority: LowNormal

comment:7 Changed 15 years ago by tobypeterson

Owner: changed from toby@… to macports-tickets@…
Status: assignednew

comment:8 Changed 15 years ago by ryandesign (Ryan Carsten Schmidt)

Owner: changed from macports-tickets@… to wiking@…

Is this still a problem with vxl 1.14.0?

comment:9 Changed 11 years ago by ryandesign (Ryan Carsten Schmidt)

Resolution: worksforme
Status: newclosed

Presumed fixed.

Note: See TracTickets for help on using tickets.