[CMake] CPACK: configured variables in CMake file are ignored

Paolo Ciccone phciccone at gmail.com
Mon Nov 26 19:16:06 EST 2012


Hi.

This issue is with CPack 2.8.10.1 on Mac OS.

I have a CPack configuration inside a CMake file that seems to skip some
variables that have been set.
For example:

INCLUDE(InstallRequiredSystemLibraries)
SET(CPACK_RESOURCE_FILE_README "Absolute path to the redme file")
SET(CPACK_PACKAGE_VENDOR "Myself")
.
.
.
[OTHER commands and variables]
.
.
.
INCLUDE(CPack)

I have paths specified for
the CPACK_RESOURCE_FILE_README, CPACK_RESOURCE_FILE_WELCOME,
and CPACK_RESOURCE_FILE_LICENSE variables.
When I run CMake the corresponding CPackConfig.cmake file includes all the
path to the readme, welcome and license files are set to the templates
included with CMake. Also, the CPACK_PACKAGE_VENDOR variable is always set
to "Humanity."

Am I overlooking something?

Thanks in advance.
---
Paolo
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.cmake.org/pipermail/cmake/attachments/20121126/aa46e862/attachment.htm>


More information about the CMake mailing list