[CMake] CPACK: configured variables in CMake file are ignored
Paolo Ciccone
phciccone at gmail.com
Tue Nov 27 10:19:13 EST 2012
Hi Eric.
> Do you mean that inside "CPackConfig.cmake" the value you(ve set before
> "INCLUDE(CPack)" are not used?
>
>
That is correct.
> > Am I overlooking something?
>
> Not something obvious I think.
> Could it be possible that INCLUDE(CPack) has been called by a subproject
> before you actually do it in your main CMakeLists.txt?
>
>
Nope, there is only one CMakeLists.txt file and the CPack text is at the
end of it.
> Which CPack generator are you using?
>
PackageMaker
> Not all of them use CPACK_RESOURCE_* vars.
>
> Could you try from a "fresh" build tree in order to avoid potential
> cache effect.
>
I have deleted the cache and the gemerated CPack files several times
without effect.
BTW, also the CPACK_PACKAGE_VERSION_MAJOR, CPACK_PACKAGE_VERSION_MINOR,
and CPACK_PACKAGE_VERSION_PATCH variables are skipped and those should not
be generator-dependent.
Cheers.
--
Paolo
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.cmake.org/pipermail/cmake/attachments/20121127/332df17d/attachment-0001.htm>
More information about the CMake
mailing list