openSUSE / libzypp

ZYpp Package Management library
http://doc.opensuse.org/projects/libzypp/HEAD/
Other
116 stars 82 forks source link

Install FindZypp.cmake -> /usr/<lib>/cmake/LibZypp/LibZyppConfig.cmake #28

Open sunweaver opened 10 years ago

sunweaver commented 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.

sunweaver commented 10 years ago

http://www.cmake.org/Wiki/CMake/Tutorials/Packaging#Package_Configuration_Files

sunweaver commented 10 years ago

http://anonscm.debian.org/cgit/collab-maint/libzypp.git/tree/debian/patches/1002_cmake-module-path-fix.patch

toabctl commented 7 years ago

friendly ping @mlandres