I am using cmake/cpack 2.8.9.  We have cmake wrapped in Makefile.
CMAKE and CPACK are defined in the Makefile as the full path to the
respective executables.  Cmake is expanding the cmake definition to
the full path but cpack doesn't include the full path.  This is the
relevant section of CMakeFiles/rpm.dir/build.make.  As you can see,
cmake includes the full path but cpack does not.

CMakeFiles/rpm:
        cpack
        /tools/swdev/packages/cmake/cmake-2.8.9/bin/cmake -E rename
myPackage-devel.rpm myPackage-devel-1.0-3.i586-linux.rpm
        /tools/swdev/packages/cmake/cmake-2.8.9/bin/cmake -E rename
myPackage-release.rpm myPackage-1.0-3.i586-linux.rpm

...Stephen
--

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

Reply via email to