CPack building RPM does not supprot this feature. Implicit things tend to be forgotten thus are prone to error. If convenient use explicit paths. Here is the case and unfortunately a requirement.