2012/12/6 Stephen Rasku <[email protected]>: > 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
Could you show us the relevant bits of your CMakeLists.txt which generate this? Could you try to: cd /path/to/builddir grep cpack CMakeCache.txt and give us the result please. -- Erk Le gouvernement représentatif n'est pas la démocratie -- http://www.le-message.org -- 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
