[Debian-med-packaging] Bug#580816: Bug#580816:

Denis Barbier bouzim at gmail.com
Sun May 9 09:51:30 UTC 2010


On 2010/5/9 Mathieu Malaterre wrote:
> This is an interesting bug ! I am wondering if this should be part of
> some sort of cmake-debian policy.
> This issue can be found in all other cmake prepare package such as VTK:
>
> $ cat /usr/lib/vtk-5.4/VTKBuildSettings.cmake
> ...
> message(FATAL_ERROR
>  "This VTK was built by CMake 2.8.0, but this is CMake "
>  "${CMAKE_MAJOR_VERSION}.${CMAKE_MINOR_VERSION}.${CMAKE_PATCH_VERSION}.  "
>  "Please upgrade CMake to a more recent version.")
>
>
> Should the vtk-dev or gdcm-dev package add a dependency including the
> cmake version ?

No, you only have to drop calls to CMAKE_EXPORT_BUILD_SETTINGS from
these projects (and may also drop CMAKE_IMPORT_BUILD_SETTINGS from
callers), see comments in
/usr/share/cmake-2.8/Modules/CMakeExportBuildSettings.cmake
IMO there is no need to add a versioned dependency against cmake.

Denis





More information about the Debian-med-packaging mailing list