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

Eric Noulard eric.noulard at gmail.com
Tue Nov 27 12:41:07 EST 2012


2012/11/27 Paolo Ciccone <phciccone at gmail.com>:
> Hi Eric.
>
>>
>> Do you mean that inside "CPackConfig.cmake" the value you(ve set before
>> "INCLUDE(CPack)" are not used?
>>
>
> That is correct.

So this is plain wrong and I don't understand how it is possible??
We should first find to fix this before examining other issue.

You should definitely find the CPACK_xxx values you(ve set
in your CMakeLists.txt inside CPackConfig.cmake.

Could you send me/us  a sample minimalistic project
which exhibit the faulty behavior?

Which version of CMake/CPack are you using?
Could you transcript the exact command you launch when
configuring and packaging your project?


[...]

-- 
Erk
Le gouvernement représentatif n'est pas la démocratie --
http://www.le-message.org


More information about the CMake mailing list