Open sunweaver opened 10 years ago
The cmake module for Zypp currently gets installed to
/usr/share/cmake/Modules/FindZypp.cmake
However, this breaks compliancy with cmake's packaging howto [1]. Package modules are not supposed to be installed into /usr/share/cmake[-]/.
The correct installation path and filename is:
/usr/lib/cmake/Zypp/ZyppConfig.cmake
Also the ZyppCommon.cmake file should be stored in that very same folder.
Greets, Mike
Updated 2018-05-28: Corrected the installation path.
http://www.cmake.org/Wiki/CMake/Tutorials/Packaging#Package_Configuration_Files
http://anonscm.debian.org/cgit/collab-maint/libzypp.git/tree/debian/patches/1002_cmake-module-path-fix.patch
friendly ping @mlandres
The cmake module for Zypp currently gets installed to
/usr/share/cmake/Modules/FindZypp.cmake
However, this breaks compliancy with cmake's packaging howto [1]. Package modules are not supposed to be installed into /usr/share/cmake[-]/.
The correct installation path and filename is:
/usr/lib/cmake/Zypp/ZyppConfig.cmake
Also the ZyppCommon.cmake file should be stored in that very same folder.
Greets, Mike
Updated 2018-05-28: Corrected the installation path.