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
-- Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Follow this link to subscribe/unsubscribe: http://www.cmake.org/mailman/listinfo/cmake
