[CMake] [CPACK] [RPM] Using %if in %file section

Luc J. Bourhis luc_j_bourhis at mac.com
Thu May 14 08:02:57 EDT 2015


I would like to end up with the following in the specs file:



I tried to use CPACK_RPM_USER_FILELIST as



but this results in

which is not quite right.

Is there something I am missing? Or is it a fundamental limitation of CPack
RPM generator? If so, would there be any workaround? Thanks in advance for
any help.



-----
--
Luc J. Bourhis

--
View this message in context: http://cmake.3232098.n2.nabble.com/CPACK-RPM-Using-if-in-file-section-tp7590576.html
Sent from the CMake mailing list archive at Nabble.com.


More information about the CMake mailing list