> > after searching how to use the documented > CPACK_RPM_<component>_PACKAGE_SUGGESTS feature, I stumbled across the > following ticket: https://gitlab.kitware.com/cmake/cmake/issues/13423 > > After reading through the discussion, I tried to fix the remaining issues > and > came up with the attached patch (against master). I also added the patched > CPackRPM.cmake for security. >
At first glance I like the solution. I'll take a more detailed look at it in the afternoon. Would you be willing to also write a test for the SUGGESTS tag? The tests are located in Tests/RunCMake/CPack, you add the test to RunCMakeTest.cmake and for an example of a test similar to what you'd need to write you can search the CPack directory for all files containing PER_COMPONENT_FIELDS in their name. Thanks, Domen
-- Powered by www.kitware.com Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Kitware offers various services to support the CMake community. For more information on each offering, please visit: CMake Support: http://cmake.org/cmake/help/support.html CMake Consulting: http://cmake.org/cmake/help/consulting.html CMake Training Courses: http://cmake.org/cmake/help/training.html Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Follow this link to subscribe/unsubscribe: http://public.kitware.com/mailman/listinfo/cmake-developers