Bug#635980: 3rd party packages should not install modules to /usr/share/cmake-2.8/Modules
Julien Jorge
julien.jorge at gamned.org
Tue Aug 23 17:08:00 UTC 2011
Le Sat, 30 Jul 2011 01:44:54 +0300,
Modestas Vainius <modax at debian.org> a écrit :
> Package: libclaw-dev
> Version: 1.6.1-4
> Severity: serious
> User: cmake at packages.debian.org
> Usertags: 3rdparty-modules-in-cmake-root
>
> Hello,
>
> Your package ships a cmake module in /usr/share/cmake-2.8/Modules/,
> namely:
>
> /usr/share/cmake-2.8/Modules/FindCLAW.cmake
>
> Third party packages should NOT install custom modules to CMAKE_ROOT
> directory because it is strictly for use by cmake itself and its path
> is subject to change without any notice (e.g. when CMake 2.10 is
> released).
>
> You should replace Find* module with package configuration file(s).
> Read more about them at [1] and [2]. It is recommended to install
> <package>-config.cmake files
> to /usr/lib/${CMAKE_LIBRARY_ARCHITECTURE}/cmake/<package>/, /usr/lib/cmake/<package>/
> or /usr/share/cmake/<package>/ as needed. Support for
> ${CMAKE_LIBRARY_ARCHITECTURE} was introduced in cmake 2.8.5, the rest
> requires cmake 2.6.3.
>
> [1]
> http://www.cmake.org/Wiki/CMake/Tutorials/Packaging#Package_Configuration_Files
>
> [2]
> http://cmake.org/cmake/help/cmake-2-8-docs.html#command:find_package
> (scroll to Config mode)
>
Hello,
Thank you for the bug report. I'm now working on it.
Regards,
Julien
More information about the Pkg-games-devel
mailing list