Package: cmake
Severity: normal

Following a discussion on debian-wb-team@l.d.o I am filling a bug
against cmake.
Bug #661383 and #506992 describe the symptoms. Basically cmake
internal mecanism to generating export file store full path to
library, which is an issue during the Multi-Arch transition as file
could contains:

$ cat /usr/lib/vtk-5.8/VTKTargets-release.cmake
...
# Import target "vtkmetaio" for configuration "RELEASE"
SET_PROPERTY(TARGET vtkmetaio APPEND PROPERTY IMPORTED_CONFIGURATIONS RELEASE)
SET_TARGET_PROPERTIES(vtkmetaio PROPERTIES
  IMPORTED_LINK_INTERFACE_LIBRARIES_RELEASE "/usr/lib/libz.so;vtksys"
  IMPORTED_LOCATION_RELEASE "${_IMPORT_PREFIX}/lib/libvtkmetaio.so.5.8.0"
  IMPORTED_SONAME_RELEASE "libvtkmetaio.so.5.8"
  )
...


/usr/lib/libz.so does not exists anymore on debian/sid.

I do not know if this possible but it would be much more flexible if
cmake could generated instead:

...
# Import target "vtkmetaio" for configuration "RELEASE"
SET_PROPERTY(TARGET vtkmetaio APPEND PROPERTY IMPORTED_CONFIGURATIONS RELEASE)
SET_TARGET_PROPERTIES(vtkmetaio PROPERTIES
  IMPORTED_LINK_INTERFACE_LIBRARIES_RELEASE "z;vtksys"
  IMPORTED_LOCATION_RELEASE "${_IMPORT_PREFIX}/lib/libvtkmetaio.so.5.8.0"
  IMPORTED_SONAME_RELEASE "libvtkmetaio.so.5.8"
  )
...

ref:
http://lists.debian.org/debian-wb-team/2012/02/msg00050.html

-- 
Mathieu



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to