New Ticket     Tickets     Wiki     Browse Source     Timeline     Roadmap     Ticket Reports     Search

Ticket #17754 (new defect)

Opened 4 years ago

Last modified 3 years ago

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

comment:1 Changed 4 years ago by jmr@…

  • Owner changed from macports-tickets@… to toby@…
  • Port set to vxl

comment:2 Changed 4 years ago by toby@…

  • Status changed from new to assigned

comment:3 Changed 4 years ago by toby@…

  • Version 1.7.0 deleted
  • Milestone Port Bugs deleted

comment:4 Changed 4 years ago by blb@…

  • Milestone set to Port Bugs

comment:5 Changed 4 years ago by anonymous

  • Milestone Port Bugs deleted

Milestone Port Bugs deleted

comment:6 Changed 4 years ago by toby@…

  • Priority changed from Low to Normal

comment:7 Changed 4 years ago by toby@…

  • Owner changed from toby@… to macports-tickets@…
  • Status changed from assigned to new

comment:8 Changed 3 years ago by ryandesign@…

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

Is this still a problem with vxl 1.14.0?

Note: See TracTickets for help on using tickets.