The following issue has been SUBMITTED. 
====================================================================== 
http://public.kitware.com/Bug/view.php?id=15217 
====================================================================== 
Reported By:                sudakov_ivan
Assigned To:                
====================================================================== 
Project:                    CMake
Issue ID:                   15217
Category:                   CPack
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     new
====================================================================== 
Date Submitted:             2014-10-24 02:50 EDT
Last Modified:              2014-10-24 02:50 EDT
====================================================================== 
Summary:                    CPack make wrong dependencies between components
Description: 
I have three components: a,b,c and code:

install(FILES ${CMAKE_CURRENT_LIST_FILE} DESTINATION /tmp COMPONENT a)
install(FILES ${CMAKE_CURRENT_LIST_FILE} DESTINATION /tmp COMPONENT b)
install(FILES ${CMAKE_CURRENT_LIST_FILE} DESTINATION /tmp COMPONENT c) 

SET(CPACK_RPM_a_PACKAGE_REQUIRES "d")
SET(CPACK_RPM_c_PACKAGE_REQUIRES "e")

In result:
 a requires d - ok
 b requires d - wrong
 c requires e - ok

There is the same situation with PROVIDES

Additional Information: 
If I set REQUIRES for ALL components it's work fine:
SET(CPACK_RPM_a_PACKAGE_REQUIRES "d")
SET(CPACK_RPM_c_PACKAGE_REQUIRES "e")
SET(CPACK_RPM_b_PACKAGE_REQUIRES "")
 
====================================================================== 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2014-10-24 02:50 sudakov_ivan   New Issue                                    
======================================================================

-- 

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

Reply via email to